home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
You can browse this item here: JSDK1_0_1-solaris-dom.tar
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive
| default
| |
99%
| file
| POSIX tar archive, directory JSDK1.0.1/, mode 0040755, uid 0165141, gid 0165141, size 00000000000, seconds 06364010130, user nobody, group nobody, devmaj 0000243, devmin 0002342
| default
| |
98%
| file
| data
| default
| |
62%
| TrID
| TAR - Tape ARchive (POSIX)
| default
| |
37%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| POSIX tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive, owner user name: "1/"
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4a 53 44 4b 31 2e 30 2e | 31 2f 00 00 00 00 00 00 |JSDK1.0.|1/......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 30 30 34 30 | 37 35 35 00 30 31 36 35 |....0040|755.0165|
|00000070| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00000080| 30 30 30 30 30 30 30 00 | 30 36 33 36 34 30 31 30 |0000000.|06364010|
|00000090| 31 33 30 00 30 30 31 33 | 30 37 30 00 35 00 00 00 |130.0013|070.5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00000150| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 4a 53 44 4b 31 2e 30 2e | 31 2f 64 6f 63 2f 00 00 |JSDK1.0.|1/doc/..|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 30 30 34 30 | 37 35 35 00 30 31 36 35 |....0040|755.0165|
|00000270| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00000280| 30 30 30 30 30 30 30 00 | 30 36 33 36 34 30 31 30 |0000000.|06364010|
|00000290| 31 33 31 00 30 30 31 33 | 36 33 36 00 35 00 00 00 |131.0013|636.5...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00000350| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 4a 53 44 4b 31 2e 30 2e | 31 2f 64 6f 63 2f 61 70 |JSDK1.0.|1/doc/ap|
|00000410| 69 64 6f 63 2f 00 00 00 | 00 00 00 00 00 00 00 00 |idoc/...|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 30 30 34 30 | 37 35 35 00 30 31 36 35 |....0040|755.0165|
|00000470| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00000480| 30 30 30 30 30 30 30 00 | 30 36 33 36 34 30 31 30 |0000000.|06364010|
|00000490| 31 30 30 00 30 30 31 35 | 30 37 31 00 35 00 00 00 |100.0015|071.5...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00000550| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 4a 53 44 4b 31 2e 30 2e | 31 2f 64 6f 63 2f 61 70 |JSDK1.0.|1/doc/ap|
|00000610| 69 64 6f 63 2f 70 61 63 | 6b 61 67 65 73 2e 68 74 |idoc/pac|kages.ht|
|00000620| 6d 6c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ml......|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 31 36 35 |....0100|644.0165|
|00000670| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00000680| 30 30 30 31 34 31 36 00 | 30 36 33 36 34 30 31 30 |0001416.|06364010|
|00000690| 30 33 30 00 30 30 31 37 | 35 33 36 00 30 00 00 00 |030.0017|536.0...|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00000750| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000810| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000820| 54 44 20 48 54 4d 4c 20 | 33 2e 32 2f 2f 45 4e 22 |TD HTML |3.2//EN"|
|00000830| 3e 0a 3c 21 2d 2d 4e 65 | 77 50 61 67 65 2d 2d 3e |>.<!--Ne|wPage-->|
|00000840| 0a 3c 68 74 6d 6c 3e 0a | 3c 68 65 61 64 3e 0a 3c |.<html>.|<head>.<|
|00000850| 21 2d 2d 20 47 65 6e 65 | 72 61 74 65 64 20 62 79 |!-- Gene|rated by|
|00000860| 20 6a 61 76 61 64 6f 63 | 20 6f 6e 20 46 72 69 20 | javadoc| on Fri |
|00000870| 4a 75 6c 20 31 38 20 31 | 37 3a 35 33 3a 33 39 20 |Jul 18 1|7:53:39 |
|00000880| 50 44 54 20 31 39 39 37 | 20 2d 2d 3e 0a 3c 74 69 |PDT 1997| -->.<ti|
|00000890| 74 6c 65 3e 0a 20 20 50 | 61 63 6b 61 67 65 20 49 |tle>. P|ackage I|
|000008a0| 6e 64 65 78 0a 3c 2f 74 | 69 74 6c 65 3e 0a 3c 2f |ndex.</t|itle>.</|
|000008b0| 68 65 61 64 3e 0a 3c 62 | 6f 64 79 3e 0a 3c 61 20 |head>.<b|ody>.<a |
|000008c0| 6e 61 6d 65 3d 22 5f 74 | 6f 70 5f 22 3e 3c 2f 61 |name="_t|op_"></a|
|000008d0| 3e 0a 3c 70 72 65 3e 3c | 61 20 68 72 65 66 3d 22 |>.<pre><|a href="|
|000008e0| 41 50 49 5f 75 73 65 72 | 73 5f 67 75 69 64 65 2e |API_user|s_guide.|
|000008f0| 68 74 6d 6c 22 3e 41 50 | 49 20 55 73 65 72 27 73 |html">AP|I User's|
|00000900| 20 47 75 69 64 65 3c 2f | 61 3e 20 20 3c 61 20 68 | Guide</|a> <a h|
|00000910| 72 65 66 3d 22 74 72 65 | 65 2e 68 74 6d 6c 22 3e |ref="tre|e.html">|
|00000920| 43 6c 61 73 73 20 48 69 | 65 72 61 72 63 68 79 3c |Class Hi|erarchy<|
|00000930| 2f 61 3e 20 20 3c 61 20 | 68 72 65 66 3d 22 41 6c |/a> <a |href="Al|
|00000940| 6c 4e 61 6d 65 73 2e 68 | 74 6d 6c 22 3e 49 6e 64 |lNames.h|tml">Ind|
|00000950| 65 78 3c 2f 61 3e 3c 2f | 70 72 65 3e 3c 68 72 3e |ex</a></|pre><hr>|
|00000960| 0a 3c 68 31 3e 0a 3c 69 | 6d 67 20 73 72 63 3d 22 |.<h1>.<i|mg src="|
|00000970| 69 6d 61 67 65 73 2f 70 | 61 63 6b 61 67 65 2d 69 |images/p|ackage-i|
|00000980| 6e 64 65 78 2e 67 69 66 | 22 20 77 69 64 74 68 3d |ndex.gif|" width=|
|00000990| 32 33 38 20 68 65 69 67 | 68 74 3d 33 37 20 61 6c |238 heig|ht=37 al|
|000009a0| 74 3d 22 50 61 63 6b 61 | 67 65 20 49 6e 64 65 78 |t="Packa|ge Index|
|000009b0| 22 3e 0a 3c 2f 68 31 3e | 0a 3c 68 32 3e 20 4f 74 |">.</h1>|.<h2> Ot|
|000009c0| 68 65 72 20 50 61 63 6b | 61 67 65 73 20 3c 2f 68 |her Pack|ages </h|
|000009d0| 32 3e 0a 3c 6d 65 6e 75 | 3e 0a 3c 6c 69 3e 20 70 |2>.<menu|>.<li> p|
|000009e0| 61 63 6b 61 67 65 20 3c | 61 20 68 72 65 66 3d 22 |ackage <|a href="|
|000009f0| 50 61 63 6b 61 67 65 2d | 6a 61 76 61 78 2e 73 65 |Package-|javax.se|
|00000a00| 72 76 6c 65 74 2e 68 74 | 6d 6c 22 3e 6a 61 76 61 |rvlet.ht|ml">java|
|00000a10| 78 2e 73 65 72 76 6c 65 | 74 3c 2f 61 3e 0a 3c 6c |x.servle|t</a>.<l|
|00000a20| 69 3e 20 70 61 63 6b 61 | 67 65 20 3c 61 20 68 72 |i> packa|ge <a hr|
|00000a30| 65 66 3d 22 50 61 63 6b | 61 67 65 2d 6a 61 76 61 |ef="Pack|age-java|
|00000a40| 78 2e 73 65 72 76 6c 65 | 74 2e 68 74 74 70 2e 68 |x.servle|t.http.h|
|00000a50| 74 6d 6c 22 3e 6a 61 76 | 61 78 2e 73 65 72 76 6c |tml">jav|ax.servl|
|00000a60| 65 74 2e 68 74 74 70 3c | 2f 61 3e 0a 3c 6c 69 3e |et.http<|/a>.<li>|
|00000a70| 20 70 61 63 6b 61 67 65 | 20 3c 61 20 68 72 65 66 | package| <a href|
|00000a80| 3d 22 50 61 63 6b 61 67 | 65 2d 73 75 6e 2e 73 65 |="Packag|e-sun.se|
|00000a90| 72 76 6c 65 74 2e 68 74 | 6d 6c 22 3e 73 75 6e 2e |rvlet.ht|ml">sun.|
|00000aa0| 73 65 72 76 6c 65 74 3c | 2f 61 3e 0a 3c 6c 69 3e |servlet<|/a>.<li>|
|00000ab0| 20 70 61 63 6b 61 67 65 | 20 3c 61 20 68 72 65 66 | package| <a href|
|00000ac0| 3d 22 50 61 63 6b 61 67 | 65 2d 73 75 6e 2e 73 65 |="Packag|e-sun.se|
|00000ad0| 72 76 6c 65 74 2e 68 74 | 74 70 2e 68 74 6d 6c 22 |rvlet.ht|tp.html"|
|00000ae0| 3e 73 75 6e 2e 73 65 72 | 76 6c 65 74 2e 68 74 74 |>sun.ser|vlet.htt|
|00000af0| 70 3c 2f 61 3e 0a 3c 2f | 6d 65 6e 75 3e 0a 3c 2f |p</a>.</|menu>.</|
|00000b00| 62 6f 64 79 3e 0a 3c 2f | 68 74 6d 6c 3e 0a 00 00 |body>.</|html>...|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 4a 53 44 4b 31 2e 30 2e | 31 2f 64 6f 63 2f 61 70 |JSDK1.0.|1/doc/ap|
|00000c10| 69 64 6f 63 2f 50 61 63 | 6b 61 67 65 2d 6a 61 76 |idoc/Pac|kage-jav|
|00000c20| 61 78 2e 73 65 72 76 6c | 65 74 2e 68 74 6d 6c 00 |ax.servl|et.html.|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 31 36 35 |....0100|644.0165|
|00000c70| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00000c80| 30 30 30 32 37 33 35 00 | 30 36 33 36 34 30 31 30 |0002735.|06364010|
|00000c90| 30 36 32 00 30 30 32 32 | 31 31 37 00 30 00 00 00 |062.0022|117.0...|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00000d50| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000e10| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000e20| 54 44 20 48 54 4d 4c 20 | 33 2e 32 2f 2f 45 4e 22 |TD HTML |3.2//EN"|
|00000e30| 3e 0a 3c 21 2d 2d 4e 65 | 77 50 61 67 65 2d 2d 3e |>.<!--Ne|wPage-->|
|00000e40| 0a 3c 68 74 6d 6c 3e 0a | 3c 68 65 61 64 3e 0a 3c |.<html>.|<head>.<|
|00000e50| 21 2d 2d 20 47 65 6e 65 | 72 61 74 65 64 20 62 79 |!-- Gene|rated by|
|00000e60| 20 6a 61 76 61 64 6f 63 | 20 6f 6e 20 46 72 69 20 | javadoc| on Fri |
|00000e70| 4a 75 6c 20 31 38 20 31 | 37 3a 35 33 3a 33 39 20 |Jul 18 1|7:53:39 |
|00000e80| 50 44 54 20 31 39 39 37 | 20 2d 2d 3e 0a 3c 74 69 |PDT 1997| -->.<ti|
|00000e90| 74 6c 65 3e 0a 20 20 50 | 61 63 6b 61 67 65 20 6a |tle>. P|ackage j|
|00000ea0| 61 76 61 78 2e 73 65 72 | 76 6c 65 74 0a 3c 2f 74 |avax.ser|vlet.</t|
|00000eb0| 69 74 6c 65 3e 0a 3c 2f | 68 65 61 64 3e 0a 3c 62 |itle>.</|head>.<b|
|00000ec0| 6f 64 79 3e 0a 3c 61 20 | 6e 61 6d 65 3d 22 5f 74 |ody>.<a |name="_t|
|00000ed0| 6f 70 5f 22 3e 3c 2f 61 | 3e 0a 3c 70 72 65 3e 3c |op_"></a|>.<pre><|
|00000ee0| 61 20 68 72 65 66 3d 22 | 70 61 63 6b 61 67 65 73 |a href="|packages|
|00000ef0| 2e 68 74 6d 6c 22 3e 41 | 6c 6c 20 50 61 63 6b 61 |.html">A|ll Packa|
|00000f00| 67 65 73 3c 2f 61 3e 20 | 20 3c 61 20 68 72 65 66 |ges</a> | <a href|
|00000f10| 3d 22 74 72 65 65 2e 68 | 74 6d 6c 22 3e 43 6c 61 |="tree.h|tml">Cla|
|00000f20| 73 73 20 48 69 65 72 61 | 72 63 68 79 3c 2f 61 3e |ss Hiera|rchy</a>|
|00000f30| 20 20 3c 61 20 68 72 65 | 66 3d 22 41 6c 6c 4e 61 | <a hre|f="AllNa|
|00000f40| 6d 65 73 2e 68 74 6d 6c | 22 3e 49 6e 64 65 78 3c |mes.html|">Index<|
|00000f50| 2f 61 3e 3c 2f 70 72 65 | 3e 0a 3c 68 72 3e 0a 3c |/a></pre|>.<hr>.<|
|00000f60| 68 31 3e 0a 20 20 70 61 | 63 6b 61 67 65 20 6a 61 |h1>. pa|ckage ja|
|00000f70| 76 61 78 2e 73 65 72 76 | 6c 65 74 0a 3c 2f 68 31 |vax.serv|let.</h1|
|00000f80| 3e 0a 3c 68 32 3e 0a 20 | 20 3c 69 6d 67 20 73 72 |>.<h2>. | <img sr|
|00000f90| 63 3d 22 69 6d 61 67 65 | 73 2f 69 6e 74 65 72 66 |c="image|s/interf|
|00000fa0| 61 63 65 2d 69 6e 64 65 | 78 2e 67 69 66 22 20 77 |ace-inde|x.gif" w|
|00000fb0| 69 64 74 68 3d 32 35 37 | 20 68 65 69 67 68 74 3d |idth=257| height=|
|00000fc0| 33 38 20 61 6c 74 3d 22 | 49 6e 74 65 72 66 61 63 |38 alt="|Interfac|
|00000fd0| 65 20 49 6e 64 65 78 22 | 3e 0a 3c 2f 68 32 3e 0a |e Index"|>.</h2>.|
|00000fe0| 3c 6d 65 6e 75 3e 0a 20 | 20 3c 6c 69 3e 20 3c 61 |<menu>. | <li> <a|
|00000ff0| 20 68 72 65 66 3d 22 6a | 61 76 61 78 2e 73 65 72 | href="j|avax.ser|
|00001000| 76 6c 65 74 2e 53 65 72 | 76 6c 65 74 2e 68 74 6d |vlet.Ser|vlet.htm|
|00001010| 6c 23 5f 74 6f 70 5f 22 | 3e 53 65 72 76 6c 65 74 |l#_top_"|>Servlet|
|00001020| 3c 2f 61 3e 0a 20 20 3c | 6c 69 3e 20 3c 61 20 68 |</a>. <|li> <a h|
|00001030| 72 65 66 3d 22 6a 61 76 | 61 78 2e 73 65 72 76 6c |ref="jav|ax.servl|
|00001040| 65 74 2e 53 65 72 76 6c | 65 74 43 6f 6e 66 69 67 |et.Servl|etConfig|
|00001050| 2e 68 74 6d 6c 23 5f 74 | 6f 70 5f 22 3e 53 65 72 |.html#_t|op_">Ser|
|00001060| 76 6c 65 74 43 6f 6e 66 | 69 67 3c 2f 61 3e 0a 20 |vletConf|ig</a>. |
|00001070| 20 3c 6c 69 3e 20 3c 61 | 20 68 72 65 66 3d 22 6a | <li> <a| href="j|
|00001080| 61 76 61 78 2e 73 65 72 | 76 6c 65 74 2e 53 65 72 |avax.ser|vlet.Ser|
|00001090| 76 6c 65 74 43 6f 6e 74 | 65 78 74 2e 68 74 6d 6c |vletCont|ext.html|
|000010a0| 23 5f 74 6f 70 5f 22 3e | 53 65 72 76 6c 65 74 43 |#_top_">|ServletC|
|000010b0| 6f 6e 74 65 78 74 3c 2f | 61 3e 0a 20 20 3c 6c 69 |ontext</|a>. <li|
|000010c0| 3e 20 3c 61 20 68 72 65 | 66 3d 22 6a 61 76 61 78 |> <a hre|f="javax|
|000010d0| 2e 73 65 72 76 6c 65 74 | 2e 53 65 72 76 6c 65 74 |.servlet|.Servlet|
|000010e0| 52 65 71 75 65 73 74 2e | 68 74 6d 6c 23 5f 74 6f |Request.|html#_to|
|000010f0| 70 5f 22 3e 53 65 72 76 | 6c 65 74 52 65 71 75 65 |p_">Serv|letReque|
|00001100| 73 74 3c 2f 61 3e 0a 20 | 20 3c 6c 69 3e 20 3c 61 |st</a>. | <li> <a|
|00001110| 20 68 72 65 66 3d 22 6a | 61 76 61 78 2e 73 65 72 | href="j|avax.ser|
|00001120| 76 6c 65 74 2e 53 65 72 | 76 6c 65 74 52 65 73 70 |vlet.Ser|vletResp|
|00001130| 6f 6e 73 65 2e 68 74 6d | 6c 23 5f 74 6f 70 5f 22 |onse.htm|l#_top_"|
|00001140| 3e 53 65 72 76 6c 65 74 | 52 65 73 70 6f 6e 73 65 |>Servlet|Response|
|00001150| 3c 2f 61 3e 0a 3c 2f 6d | 65 6e 75 3e 0a 3c 68 32 |</a>.</m|enu>.<h2|
|00001160| 3e 0a 20 20 3c 69 6d 67 | 20 73 72 63 3d 22 69 6d |>. <img| src="im|
|00001170| 61 67 65 73 2f 63 6c 61 | 73 73 2d 69 6e 64 65 78 |ages/cla|ss-index|
|00001180| 2e 67 69 66 22 20 77 69 | 64 74 68 3d 32 31 36 20 |.gif" wi|dth=216 |
|00001190| 68 65 69 67 68 74 3d 33 | 37 20 61 6c 74 3d 22 43 |height=3|7 alt="C|
|000011a0| 6c 61 73 73 20 49 6e 64 | 65 78 22 3e 0a 3c 2f 68 |lass Ind|ex">.</h|
|000011b0| 32 3e 0a 3c 6d 65 6e 75 | 3e 0a 20 20 3c 6c 69 3e |2>.<menu|>. <li>|
|000011c0| 20 3c 61 20 68 72 65 66 | 3d 22 6a 61 76 61 78 2e | <a href|="javax.|
|000011d0| 73 65 72 76 6c 65 74 2e | 47 65 6e 65 72 69 63 53 |servlet.|GenericS|
|000011e0| 65 72 76 6c 65 74 2e 68 | 74 6d 6c 23 5f 74 6f 70 |ervlet.h|tml#_top|
|000011f0| 5f 22 3e 47 65 6e 65 72 | 69 63 53 65 72 76 6c 65 |_">Gener|icServle|
|00001200| 74 3c 2f 61 3e 0a 20 20 | 3c 6c 69 3e 20 3c 61 20 |t</a>. |<li> <a |
|00001210| 68 72 65 66 3d 22 6a 61 | 76 61 78 2e 73 65 72 76 |href="ja|vax.serv|
|00001220| 6c 65 74 2e 53 65 72 76 | 6c 65 74 49 6e 70 75 74 |let.Serv|letInput|
|00001230| 53 74 72 65 61 6d 2e 68 | 74 6d 6c 23 5f 74 6f 70 |Stream.h|tml#_top|
|00001240| 5f 22 3e 53 65 72 76 6c | 65 74 49 6e 70 75 74 53 |_">Servl|etInputS|
|00001250| 74 72 65 61 6d 3c 2f 61 | 3e 0a 20 20 3c 6c 69 3e |tream</a|>. <li>|
|00001260| 20 3c 61 20 68 72 65 66 | 3d 22 6a 61 76 61 78 2e | <a href|="javax.|
|00001270| 73 65 72 76 6c 65 74 2e | 53 65 72 76 6c 65 74 4f |servlet.|ServletO|
|00001280| 75 74 70 75 74 53 74 72 | 65 61 6d 2e 68 74 6d 6c |utputStr|eam.html|
|00001290| 23 5f 74 6f 70 5f 22 3e | 53 65 72 76 6c 65 74 4f |#_top_">|ServletO|
|000012a0| 75 74 70 75 74 53 74 72 | 65 61 6d 3c 2f 61 3e 0a |utputStr|eam</a>.|
|000012b0| 3c 2f 6d 65 6e 75 3e 0a | 3c 68 32 3e 0a 20 20 3c |</menu>.|<h2>. <|
|000012c0| 69 6d 67 20 73 72 63 3d | 22 69 6d 61 67 65 73 2f |img src=|"images/|
|000012d0| 65 78 63 65 70 74 69 6f | 6e 2d 69 6e 64 65 78 2e |exceptio|n-index.|
|000012e0| 67 69 66 22 20 77 69 64 | 74 68 3d 32 38 34 20 68 |gif" wid|th=284 h|
|000012f0| 65 69 67 68 74 3d 33 38 | 20 61 6c 74 3d 22 45 78 |eight=38| alt="Ex|
|00001300| 63 65 70 74 69 6f 6e 20 | 49 6e 64 65 78 22 3e 0a |ception |Index">.|
|00001310| 3c 2f 68 32 3e 0a 3c 6d | 65 6e 75 3e 0a 20 20 3c |</h2>.<m|enu>. <|
|00001320| 6c 69 3e 20 3c 61 20 68 | 72 65 66 3d 22 6a 61 76 |li> <a h|ref="jav|
|00001330| 61 78 2e 73 65 72 76 6c | 65 74 2e 53 65 72 76 6c |ax.servl|et.Servl|
|00001340| 65 74 45 78 63 65 70 74 | 69 6f 6e 2e 68 74 6d 6c |etExcept|ion.html|
|00001350| 23 5f 74 6f 70 5f 22 3e | 53 65 72 76 6c 65 74 45 |#_top_">|ServletE|
|00001360| 78 63 65 70 74 69 6f 6e | 3c 2f 61 3e 0a 20 20 3c |xception|</a>. <|
|00001370| 6c 69 3e 20 3c 61 20 68 | 72 65 66 3d 22 6a 61 76 |li> <a h|ref="jav|
|00001380| 61 78 2e 73 65 72 76 6c | 65 74 2e 55 6e 61 76 61 |ax.servl|et.Unava|
|00001390| 69 6c 61 62 6c 65 45 78 | 63 65 70 74 69 6f 6e 2e |ilableEx|ception.|
|000013a0| 68 74 6d 6c 23 5f 74 6f | 70 5f 22 3e 55 6e 61 76 |html#_to|p_">Unav|
|000013b0| 61 69 6c 61 62 6c 65 45 | 78 63 65 70 74 69 6f 6e |ailableE|xception|
|000013c0| 3c 2f 61 3e 0a 3c 2f 6d | 65 6e 75 3e 0a 3c 2f 62 |</a>.</m|enu>.</b|
|000013d0| 6f 64 79 3e 0a 3c 2f 68 | 74 6d 6c 3e 0a 00 00 00 |ody>.</h|tml>....|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 4a 53 44 4b 31 2e 30 2e | 31 2f 64 6f 63 2f 61 70 |JSDK1.0.|1/doc/ap|
|00001410| 69 64 6f 63 2f 6a 61 76 | 61 78 2e 73 65 72 76 6c |idoc/jav|ax.servl|
|00001420| 65 74 2e 53 65 72 76 6c | 65 74 2e 68 74 6d 6c 00 |et.Servl|et.html.|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 31 36 35 |....0100|644.0165|
|00001470| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00001480| 30 30 32 33 36 34 31 00 | 30 36 33 36 34 30 31 30 |0023641.|06364010|
|00001490| 30 36 31 00 30 30 32 32 | 32 30 37 00 30 00 00 00 |061.0022|207.0...|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00001550| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00001610| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00001620| 54 44 20 48 54 4d 4c 20 | 33 2e 32 2f 2f 45 4e 22 |TD HTML |3.2//EN"|
|00001630| 3e 0a 3c 21 2d 2d 4e 65 | 77 50 61 67 65 2d 2d 3e |>.<!--Ne|wPage-->|
|00001640| 0a 3c 68 74 6d 6c 3e 0a | 3c 68 65 61 64 3e 0a 3c |.<html>.|<head>.<|
|00001650| 21 2d 2d 20 47 65 6e 65 | 72 61 74 65 64 20 62 79 |!-- Gene|rated by|
|00001660| 20 6a 61 76 61 64 6f 63 | 20 6f 6e 20 46 72 69 20 | javadoc| on Fri |
|00001670| 4a 75 6c 20 31 38 20 31 | 37 3a 35 33 3a 33 39 20 |Jul 18 1|7:53:39 |
|00001680| 50 44 54 20 31 39 39 37 | 20 2d 2d 3e 0a 3c 74 69 |PDT 1997| -->.<ti|
|00001690| 74 6c 65 3e 0a 20 20 49 | 6e 74 65 72 66 61 63 65 |tle>. I|nterface|
|000016a0| 20 6a 61 76 61 78 2e 73 | 65 72 76 6c 65 74 2e 53 | javax.s|ervlet.S|
|000016b0| 65 72 76 6c 65 74 0a 3c | 2f 74 69 74 6c 65 3e 0a |ervlet.<|/title>.|
|000016c0| 3c 2f 68 65 61 64 3e 0a | 3c 62 6f 64 79 3e 0a 3c |</head>.|<body>.<|
|000016d0| 61 20 6e 61 6d 65 3d 22 | 5f 74 6f 70 5f 22 3e 3c |a name="|_top_"><|
|000016e0| 2f 61 3e 0a 3c 70 72 65 | 3e 0a 3c 61 20 68 72 65 |/a>.<pre|>.<a hre|
|000016f0| 66 3d 22 70 61 63 6b 61 | 67 65 73 2e 68 74 6d 6c |f="packa|ges.html|
|00001700| 22 3e 41 6c 6c 20 50 61 | 63 6b 61 67 65 73 3c 2f |">All Pa|ckages</|
|00001710| 61 3e 20 20 3c 61 20 68 | 72 65 66 3d 22 74 72 65 |a> <a h|ref="tre|
|00001720| 65 2e 68 74 6d 6c 22 3e | 43 6c 61 73 73 20 48 69 |e.html">|Class Hi|
|00001730| 65 72 61 72 63 68 79 3c | 2f 61 3e 20 20 3c 61 20 |erarchy<|/a> <a |
|00001740| 68 72 65 66 3d 22 50 61 | 63 6b 61 67 65 2d 6a 61 |href="Pa|ckage-ja|
|00001750| 76 61 78 2e 73 65 72 76 | 6c 65 74 2e 68 74 6d 6c |vax.serv|let.html|
|00001760| 22 3e 54 68 69 73 20 50 | 61 63 6b 61 67 65 3c 2f |">This P|ackage</|
|00001770| 61 3e 20 20 3c 61 20 68 | 72 65 66 3d 22 50 61 63 |a> <a h|ref="Pac|
|00001780| 6b 61 67 65 2d 6a 61 76 | 61 78 2e 73 65 72 76 6c |kage-jav|ax.servl|
|00001790| 65 74 2e 68 74 6d 6c 22 | 3e 50 72 65 76 69 6f 75 |et.html"|>Previou|
|000017a0| 73 3c 2f 61 3e 20 20 3c | 61 20 68 72 65 66 3d 22 |s</a> <|a href="|
|000017b0| 6a 61 76 61 78 2e 73 65 | 72 76 6c 65 74 2e 53 65 |javax.se|rvlet.Se|
|000017c0| 72 76 6c 65 74 43 6f 6e | 66 69 67 2e 68 74 6d 6c |rvletCon|fig.html|
|000017d0| 23 5f 74 6f 70 5f 22 3e | 4e 65 78 74 3c 2f 61 3e |#_top_">|Next</a>|
|000017e0| 20 20 3c 61 20 68 72 65 | 66 3d 22 41 6c 6c 4e 61 | <a hre|f="AllNa|
|000017f0| 6d 65 73 2e 68 74 6d 6c | 22 3e 49 6e 64 65 78 3c |mes.html|">Index<|
|00001800| 2f 61 3e 3c 2f 70 72 65 | 3e 0a 3c 68 72 3e 0a 3c |/a></pre|>.<hr>.<|
|00001810| 68 31 3e 0a 20 20 49 6e | 74 65 72 66 61 63 65 20 |h1>. In|terface |
|00001820| 6a 61 76 61 78 2e 73 65 | 72 76 6c 65 74 2e 53 65 |javax.se|rvlet.Se|
|00001830| 72 76 6c 65 74 0a 3c 2f | 68 31 3e 0a 3c 64 6c 3e |rvlet.</|h1>.<dl>|
|00001840| 0a 20 20 3c 64 74 3e 20 | 70 75 62 6c 69 63 20 69 |. <dt> |public i|
|00001850| 6e 74 65 72 66 61 63 65 | 20 3c 62 3e 53 65 72 76 |nterface| <b>Serv|
|00001860| 6c 65 74 3c 2f 62 3e 0a | 3c 2f 64 6c 3e 0a 54 68 |let</b>.|</dl>.Th|
|00001870| 69 73 20 69 6e 74 65 72 | 66 61 63 65 20 69 73 20 |is inter|face is |
|00001880| 66 6f 72 20 64 65 76 65 | 6c 6f 70 69 6e 67 20 73 |for deve|loping s|
|00001890| 65 72 76 6c 65 74 73 2e | 20 20 41 20 73 65 72 76 |ervlets.| A serv|
|000018a0| 6c 65 74 20 69 73 20 61 | 20 62 6f 64 79 20 6f 66 |let is a| body of|
|000018b0| 0a 20 4a 61 76 61 20 63 | 6f 64 65 20 74 68 61 74 |. Java c|ode that|
|000018c0| 20 69 73 20 6c 6f 61 64 | 65 64 20 69 6e 74 6f 20 | is load|ed into |
|000018d0| 61 6e 64 20 72 75 6e 73 | 20 69 6e 73 69 64 65 20 |and runs| inside |
|000018e0| 61 20 6e 65 74 77 6f 72 | 6b 20 73 65 72 76 69 63 |a networ|k servic|
|000018f0| 65 2c 0a 20 73 75 63 68 | 20 61 73 20 61 20 77 65 |e,. such| as a we|
|00001900| 62 20 73 65 72 76 65 72 | 2e 20 20 49 74 20 72 65 |b server|. It re|
|00001910| 63 65 69 76 65 73 20 61 | 6e 64 20 72 65 73 70 6f |ceives a|nd respo|
|00001920| 6e 64 73 20 74 6f 20 72 | 65 71 75 65 73 74 73 20 |nds to r|equests |
|00001930| 66 72 6f 6d 0a 20 63 6c | 69 65 6e 74 73 2e 20 20 |from. cl|ients. |
|00001940| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 61 20 63 |For exam|ple, a c|
|00001950| 6c 69 65 6e 74 20 6d 61 | 79 20 6e 65 65 64 20 69 |lient ma|y need i|
|00001960| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 66 72 6f 6d 20 |nformati|on from |
|00001970| 61 0a 20 64 61 74 61 62 | 61 73 65 3b 20 61 20 73 |a. datab|ase; a s|
|00001980| 65 72 76 6c 65 74 20 63 | 61 6e 20 62 65 20 77 72 |ervlet c|an be wr|
|00001990| 69 74 74 65 6e 20 74 68 | 61 74 20 72 65 63 65 69 |itten th|at recei|
|000019a0| 76 65 73 20 74 68 65 20 | 72 65 71 75 65 73 74 2c |ves the |request,|
|000019b0| 20 67 65 74 73 0a 20 61 | 6e 64 20 70 72 6f 63 65 | gets. a|nd proce|
|000019c0| 73 73 65 73 20 74 68 65 | 20 64 61 74 61 20 61 73 |sses the| data as|
|000019d0| 20 6e 65 65 64 65 64 20 | 62 79 20 74 68 65 20 63 | needed |by the c|
|000019e0| 6c 69 65 6e 74 2c 20 61 | 6e 64 20 74 68 65 6e 20 |lient, a|nd then |
|000019f0| 72 65 74 75 72 6e 73 20 | 69 74 0a 20 74 6f 20 74 |returns |it. to t|
|00001a00| 68 65 20 63 6c 69 65 6e | 74 2e 0a 20 3c 50 3e 41 |he clien|t.. <P>A|
|00001a10| 6c 6c 20 73 65 72 76 6c | 65 74 73 20 69 6d 70 6c |ll servl|ets impl|
|00001a20| 65 6d 65 6e 74 20 74 68 | 69 73 20 69 6e 74 65 72 |ement th|is inter|
|00001a30| 66 61 63 65 2e 20 20 53 | 65 72 76 6c 65 74 20 77 |face. S|ervlet w|
|00001a40| 72 69 74 65 72 73 20 74 | 79 70 69 63 61 6c 6c 79 |riters t|ypically|
|00001a50| 0a 20 64 6f 20 74 68 69 | 73 20 62 79 20 73 75 62 |. do thi|s by sub|
|00001a60| 63 6c 61 73 73 69 6e 67 | 20 65 69 74 68 65 72 20 |classing| either |
|00001a70| 47 65 6e 65 72 69 63 53 | 65 72 76 6c 65 74 2c 20 |GenericS|ervlet, |
|00001a80| 77 68 69 63 68 20 69 6d | 70 6c 65 6d 65 6e 74 73 |which im|plements|
|00001a90| 20 74 68 65 0a 20 53 65 | 72 76 6c 65 74 20 69 6e | the. Se|rvlet in|
|00001aa0| 74 65 72 66 61 63 65 2c | 20 6f 72 20 62 79 20 73 |terface,| or by s|
|00001ab0| 75 62 63 6c 61 73 73 69 | 6e 67 20 47 65 6e 65 72 |ubclassi|ng Gener|
|00001ac0| 69 63 53 65 72 76 6c 65 | 74 27 73 20 64 65 73 63 |icServle|t's desc|
|00001ad0| 65 6e 64 65 6e 74 2c 0a | 20 48 74 74 70 53 65 72 |endent,.| HttpSer|
|00001ae0| 76 6c 65 74 2e 20 20 44 | 65 76 65 6c 6f 70 65 72 |vlet. D|eveloper|
|00001af0| 73 20 6e 65 65 64 20 74 | 6f 20 64 69 72 65 63 74 |s need t|o direct|
|00001b00| 6c 79 20 69 6d 70 6c 65 | 6d 65 6e 74 20 74 68 69 |ly imple|ment thi|
|00001b10| 73 20 69 6e 74 65 72 66 | 61 63 65 0a 20 6f 6e 6c |s interf|ace. onl|
|00001b20| 79 20 69 66 20 74 68 65 | 69 72 20 73 65 72 76 6c |y if the|ir servl|
|00001b30| 65 74 73 20 63 61 6e 6e | 6f 74 20 28 6f 72 20 63 |ets cann|ot (or c|
|00001b40| 68 6f 6f 73 65 20 6e 6f | 74 20 74 6f 29 20 69 6e |hoose no|t to) in|
|00001b50| 68 65 72 69 74 20 66 72 | 6f 6d 0a 20 47 65 6e 65 |herit fr|om. Gene|
|00001b60| 72 69 63 53 65 72 76 6c | 65 74 20 6f 72 20 48 74 |ricServl|et or Ht|
|00001b70| 74 70 53 65 72 76 6c 65 | 74 2e 20 20 46 6f 72 20 |tpServle|t. For |
|00001b80| 65 78 61 6d 70 6c 65 2c | 20 52 4d 49 20 6f 72 20 |example,| RMI or |
|00001b90| 43 4f 52 42 41 20 6f 62 | 6a 65 63 74 73 0a 20 74 |CORBA ob|jects. t|
|00001ba0| 68 61 74 20 61 63 74 20 | 61 73 20 73 65 72 76 6c |hat act |as servl|
|00001bb0| 65 74 73 20 77 69 6c 6c | 20 64 69 72 65 63 74 6c |ets will| directl|
|00001bc0| 79 20 69 6d 70 6c 65 6d | 65 6e 74 20 74 68 69 73 |y implem|ent this|
|00001bd0| 20 69 6e 74 65 72 66 61 | 63 65 2e 0a 20 3c 70 3e | interfa|ce.. <p>|
|00001be0| 54 68 65 20 53 65 72 76 | 6c 65 74 20 69 6e 74 65 |The Serv|let inte|
|00001bf0| 72 66 61 63 65 20 64 65 | 66 69 6e 65 73 20 6d 65 |rface de|fines me|
|00001c00| 74 68 6f 64 73 20 74 6f | 20 69 6e 69 74 69 61 6c |thods to| initial|
|00001c10| 69 7a 65 20 61 20 73 65 | 72 76 6c 65 74 2c 20 74 |ize a se|rvlet, t|
|00001c20| 6f 0a 20 72 65 63 65 69 | 76 65 20 61 6e 64 20 72 |o. recei|ve and r|
|00001c30| 65 73 70 6f 6e 64 20 74 | 6f 20 63 6c 69 65 6e 74 |espond t|o client|
|00001c40| 20 72 65 71 75 65 73 74 | 73 2c 20 61 6e 64 20 74 | request|s, and t|
|00001c50| 6f 20 64 65 73 74 72 6f | 79 20 61 20 73 65 72 76 |o destro|y a serv|
|00001c60| 6c 65 74 20 61 6e 64 0a | 20 69 74 73 20 72 65 73 |let and.| its res|
|00001c70| 6f 75 72 63 65 73 2e 20 | 20 54 68 65 73 65 20 61 |ources. | These a|
|00001c80| 72 65 20 6b 6e 6f 77 6e | 20 61 73 20 6c 69 66 65 |re known| as life|
|00001c90| 2d 63 79 63 6c 65 20 6d | 65 74 68 6f 64 73 2c 20 |-cycle m|ethods, |
|00001ca0| 61 6e 64 20 61 72 65 20 | 63 61 6c 6c 65 64 0a 20 |and are |called. |
|00001cb0| 62 79 20 74 68 65 20 6e | 65 74 77 6f 72 6b 20 73 |by the n|etwork s|
|00001cc0| 65 72 76 69 63 65 20 69 | 6e 20 74 68 65 20 66 6f |ervice i|n the fo|
|00001cd0| 6c 6c 6f 77 69 6e 67 20 | 6d 61 6e 6e 65 72 3a 0a |llowing |manner:.|
|00001ce0| 20 3c 6f 6c 3e 0a 20 3c | 6c 69 3e 53 65 72 76 6c | <ol>. <|li>Servl|
|00001cf0| 65 74 20 69 73 20 63 72 | 65 61 74 65 64 20 74 68 |et is cr|eated th|
|00001d00| 65 6e 20 3c 62 3e 69 6e | 69 74 3c 2f 62 3e 69 61 |en <b>in|it</b>ia|
|00001d10| 6c 69 7a 65 64 2e 0a 20 | 3c 6c 69 3e 5a 65 72 6f |lized.. |<li>Zero|
|00001d20| 20 6f 72 20 6d 6f 72 65 | 20 3c 62 3e 73 65 72 76 | or more| <b>serv|
|00001d30| 69 63 65 3c 2f 62 3e 20 | 63 61 6c 6c 73 20 66 72 |ice</b> |calls fr|
|00001d40| 6f 6d 20 63 6c 69 65 6e | 74 73 20 61 72 65 20 68 |om clien|ts are h|
|00001d50| 61 6e 64 6c 65 64 0a 20 | 3c 6c 69 3e 53 65 72 76 |andled. |<li>Serv|
|00001d60| 6c 65 74 20 69 73 20 3c | 62 3e 64 65 73 74 72 6f |let is <|b>destro|
|00001d70| 79 3c 2f 62 3e 65 64 20 | 74 68 65 6e 20 67 61 72 |y</b>ed |then gar|
|00001d80| 62 61 67 65 20 63 6f 6c | 6c 65 63 74 65 64 20 61 |bage col|lected a|
|00001d90| 6e 64 20 66 69 6e 61 6c | 69 7a 65 64 0a 20 3c 2f |nd final|ized. </|
|00001da0| 6f 6c 3e 0a 20 49 6e 69 | 74 69 61 6c 69 7a 69 6e |ol>. Ini|tializin|
|00001db0| 67 20 61 20 73 65 72 76 | 6c 65 74 20 69 6e 76 6f |g a serv|let invo|
|00001dc0| 6c 76 65 73 20 64 6f 69 | 6e 67 20 61 6e 79 20 65 |lves doi|ng any e|
|00001dd0| 78 70 65 6e 73 69 76 65 | 20 6f 6e 65 2d 74 69 6d |xpensive| one-tim|
|00001de0| 65 20 73 65 74 75 70 2c | 0a 20 73 75 63 68 20 61 |e setup,|. such a|
|00001df0| 73 20 6c 6f 61 64 69 6e | 67 20 63 6f 6e 66 69 67 |s loadin|g config|
|00001e00| 75 72 61 74 69 6f 6e 20 | 64 61 74 61 20 66 72 6f |uration |data fro|
|00001e10| 6d 20 66 69 6c 65 73 20 | 6f 72 20 73 74 61 72 74 |m files |or start|
|00001e20| 69 6e 67 20 68 65 6c 70 | 65 72 0a 20 74 68 72 65 |ing help|er. thre|
|00001e30| 61 64 73 2e 20 20 53 65 | 72 76 69 63 65 20 63 61 |ads. Se|rvice ca|
|00001e40| 6c 6c 73 20 66 72 6f 6d | 20 63 6c 69 65 6e 74 73 |lls from| clients|
|00001e50| 20 61 72 65 20 68 61 6e | 64 6c 65 64 20 75 73 69 | are han|dled usi|
|00001e60| 6e 67 20 61 20 72 65 71 | 75 65 73 74 20 61 6e 64 |ng a req|uest and|
|00001e70| 0a 20 72 65 73 70 6f 6e | 73 65 20 70 61 72 61 64 |. respon|se parad|
|00001e80| 69 67 6d 2e 20 20 54 68 | 65 79 20 72 65 6c 79 20 |igm. Th|ey rely |
|00001e90| 6f 6e 20 74 68 65 20 75 | 6e 64 65 72 6c 79 69 6e |on the u|nderlyin|
|00001ea0| 67 20 6e 65 74 77 6f 72 | 6b 20 74 72 61 6e 73 70 |g networ|k transp|
|00001eb0| 6f 72 74 20 74 6f 0a 20 | 70 72 6f 76 69 64 65 20 |ort to. |provide |
|00001ec0| 71 75 61 6c 69 74 79 20 | 6f 66 20 73 65 72 76 69 |quality |of servi|
|00001ed0| 63 65 20 67 75 61 72 61 | 6e 74 65 65 73 2c 20 73 |ce guara|ntees, s|
|00001ee0| 75 63 68 20 61 73 20 72 | 65 6f 72 64 65 72 69 6e |uch as r|eorderin|
|00001ef0| 67 2c 0a 20 64 75 70 6c | 69 63 61 74 69 6f 6e 2c |g,. dupl|ication,|
|00001f00| 20 6d 65 73 73 61 67 65 | 20 69 6e 74 65 67 72 69 | message| integri|
|00001f10| 74 79 2c 20 70 72 69 76 | 61 63 79 2c 20 65 74 63 |ty, priv|acy, etc|
|00001f20| 2e 20 44 65 73 74 72 6f | 79 69 6e 67 20 61 20 73 |. Destro|ying a s|
|00001f30| 65 72 76 6c 65 74 0a 20 | 69 6e 76 6f 6c 76 65 73 |ervlet. |involves|
|00001f40| 20 75 6e 64 6f 69 6e 67 | 20 61 6e 79 20 69 6e 69 | undoing| any ini|
|00001f50| 74 69 61 6c 69 7a 61 74 | 69 6f 6e 20 77 6f 72 6b |tializat|ion work|
|00001f60| 20 61 6e 64 20 73 79 6e | 63 68 72 6f 6e 69 7a 69 | and syn|chronizi|
|00001f70| 6e 67 0a 20 70 65 72 73 | 69 73 74 65 6e 74 20 73 |ng. pers|istent s|
|00001f80| 74 61 74 65 20 77 69 74 | 68 20 74 68 65 20 63 75 |tate wit|h the cu|
|00001f90| 72 72 65 6e 74 20 69 6e | 2d 6d 65 6d 6f 72 79 20 |rrent in|-memory |
|00001fa0| 73 74 61 74 65 2e 0a 20 | 3c 70 3e 49 6e 20 61 64 |state.. |<p>In ad|
|00001fb0| 64 69 74 69 6f 6e 20 74 | 6f 20 74 68 65 20 6c 69 |dition t|o the li|
|00001fc0| 66 65 2d 63 79 63 6c 65 | 20 6d 65 74 68 6f 64 73 |fe-cycle| methods|
|00001fd0| 2c 20 74 68 65 20 53 65 | 72 76 6c 65 74 20 69 6e |, the Se|rvlet in|
|00001fe0| 74 65 72 66 61 63 65 0a | 20 70 72 6f 76 69 64 65 |terface.| provide|
|00001ff0| 73 20 66 6f 72 20 61 20 | 6d 65 74 68 6f 64 20 66 |s for a |method f|
|00002000| 6f 72 20 74 68 65 20 73 | 65 72 76 6c 65 74 20 74 |or the s|ervlet t|
|00002010| 6f 20 75 73 65 20 74 6f | 20 67 65 74 20 61 6e 79 |o use to| get any|
|00002020| 20 73 74 61 72 74 75 70 | 0a 20 69 6e 66 6f 72 6d | startup|. inform|
|00002030| 61 74 69 6f 6e 2c 20 61 | 6e 64 20 61 20 6d 65 74 |ation, a|nd a met|
|00002040| 68 6f 64 20 74 68 61 74 | 20 61 6c 6c 6f 77 73 20 |hod that| allows |
|00002050| 74 68 65 20 73 65 72 76 | 6c 65 74 20 74 6f 20 72 |the serv|let to r|
|00002060| 65 74 75 72 6e 20 62 61 | 73 69 63 0a 20 69 6e 66 |eturn ba|sic. inf|
|00002070| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 69 |ormation| about i|
|00002080| 74 73 65 6c 66 2c 20 73 | 75 63 68 20 61 73 20 69 |tself, s|uch as i|
|00002090| 74 73 20 61 75 74 68 6f | 72 2c 20 76 65 72 73 69 |ts autho|r, versi|
|000020a0| 6f 6e 20 61 6e 64 20 63 | 6f 70 79 72 69 67 68 74 |on and c|opyright|
|000020b0| 2e 0a 3c 70 3e 0a 3c 64 | 6c 3e 0a 20 20 20 20 3c |..<p>.<d|l>. <|
|000020c0| 64 74 3e 20 3c 62 3e 53 | 65 65 20 41 6c 73 6f 3a |dt> <b>S|ee Also:|
|000020d0| 3c 2f 62 3e 0a 20 20 20 | 20 3c 64 64 3e 20 3c 61 |</b>. | <dd> <a|
|000020e0| 20 68 72 65 66 3d 22 6a | 61 76 61 78 2e 73 65 72 | href="j|avax.ser|
|000020f0| 76 6c 65 74 2e 47 65 6e | 65 72 69 63 53 65 72 76 |vlet.Gen|ericServ|
|00002100| 6c 65 74 2e 68 74 6d 6c | 23 5f 74 6f 70 5f 22 3e |let.html|#_top_">|
|00002110| 47 65 6e 65 72 69 63 53 | 65 72 76 6c 65 74 3c 2f |GenericS|ervlet</|
|00002120| 61 3e 2c 20 3c 61 20 68 | 72 65 66 3d 22 6a 61 76 |a>, <a h|ref="jav|
|00002130| 61 78 2e 73 65 72 76 6c | 65 74 2e 68 74 74 70 2e |ax.servl|et.http.|
|00002140| 48 74 74 70 53 65 72 76 | 6c 65 74 2e 68 74 6d 6c |HttpServ|let.html|
|00002150| 23 5f 74 6f 70 5f 22 3e | 48 74 74 70 53 65 72 76 |#_top_">|HttpServ|
|00002160| 6c 65 74 3c 2f 61 3e 0a | 3c 2f 64 6c 3e 0a 3c 68 |let</a>.|</dl>.<h|
|00002170| 72 3e 0a 3c 61 20 6e 61 | 6d 65 3d 22 69 6e 64 65 |r>.<a na|me="inde|
|00002180| 78 22 3e 3c 2f 61 3e 0a | 3c 68 32 3e 0a 20 20 3c |x"></a>.|<h2>. <|
|00002190| 69 6d 67 20 73 72 63 3d | 22 69 6d 61 67 65 73 2f |img src=|"images/|
|000021a0| 6d 65 74 68 6f 64 2d 69 | 6e 64 65 78 2e 67 69 66 |method-i|ndex.gif|
|000021b0| 22 20 77 69 64 74 68 3d | 32 30 37 20 68 65 69 67 |" width=|207 heig|
|000021c0| 68 74 3d 33 38 20 61 6c | 74 3d 22 4d 65 74 68 6f |ht=38 al|t="Metho|
|000021d0| 64 20 49 6e 64 65 78 22 | 3e 0a 3c 2f 68 32 3e 0a |d Index"|>.</h2>.|
|000021e0| 3c 64 6c 3e 0a 20 20 3c | 64 74 3e 20 3c 69 6d 67 |<dl>. <|dt> <img|
|000021f0| 20 73 72 63 3d 22 69 6d | 61 67 65 73 2f 72 65 64 | src="im|ages/red|
|00002200| 2d 62 61 6c 6c 2d 73 6d | 61 6c 6c 2e 67 69 66 22 |-ball-sm|all.gif"|
|00002210| 20 77 69 64 74 68 3d 36 | 20 68 65 69 67 68 74 3d | width=6| height=|
|00002220| 36 20 61 6c 74 3d 22 20 | 6f 20 22 3e 0a 09 3c 61 |6 alt=" |o ">..<a|
|00002230| 20 68 72 65 66 3d 22 23 | 64 65 73 74 72 6f 79 28 | href="#|destroy(|
|00002240| 29 22 3e 3c 62 3e 64 65 | 73 74 72 6f 79 3c 2f 62 |)"><b>de|stroy</b|
|00002250| 3e 3c 2f 61 3e 28 29 0a | 20 20 3c 64 64 3e 20 20 |></a>().| <dd> |
|00002260| 43 6c 65 61 6e 73 20 75 | 70 20 77 68 61 74 65 76 |Cleans u|p whatev|
|00002270| 65 72 20 72 65 73 6f 75 | 72 63 65 73 20 61 72 65 |er resou|rces are|
|00002280| 20 62 65 69 6e 67 20 68 | 65 6c 64 20 28 65 2e 67 | being h|eld (e.g|
|00002290| 2e 2c 20 6d 65 6d 6f 72 | 79 2c 20 66 69 6c 65 0a |., memor|y, file.|
|000022a0| 20 68 61 6e 64 6c 65 73 | 2c 20 74 68 72 65 61 64 | handles|, thread|
|000022b0| 73 29 20 61 6e 64 20 6d | 61 6b 65 73 20 73 75 72 |s) and m|akes sur|
|000022c0| 65 20 74 68 61 74 20 61 | 6e 79 20 70 65 72 73 69 |e that a|ny persi|
|000022d0| 73 74 65 6e 74 20 73 74 | 61 74 65 20 69 73 0a 20 |stent st|ate is. |
|000022e0| 73 79 6e 63 68 72 6f 6e | 69 7a 65 64 20 77 69 74 |synchron|ized wit|
|000022f0| 68 20 74 68 65 20 73 65 | 72 76 6c 65 74 27 73 20 |h the se|rvlet's |
|00002300| 63 75 72 72 65 6e 74 20 | 69 6e 2d 6d 65 6d 6f 72 |current |in-memor|
|00002310| 79 20 73 74 61 74 65 2e | 0a 20 20 3c 64 74 3e 20 |y state.|. <dt> |
|00002320| 3c 69 6d 67 20 73 72 63 | 3d 22 69 6d 61 67 65 73 |<img src|="images|
|00002330| 2f 72 65 64 2d 62 61 6c | 6c 2d 73 6d 61 6c 6c 2e |/red-bal|l-small.|
|00002340| 67 69 66 22 20 77 69 64 | 74 68 3d 36 20 68 65 69 |gif" wid|th=6 hei|
|00002350| 67 68 74 3d 36 20 61 6c | 74 3d 22 20 6f 20 22 3e |ght=6 al|t=" o ">|
|00002360| 0a 09 3c 61 20 68 72 65 | 66 3d 22 23 67 65 74 53 |..<a hre|f="#getS|
|00002370| 65 72 76 6c 65 74 43 6f | 6e 66 69 67 28 29 22 3e |ervletCo|nfig()">|
|00002380| 3c 62 3e 67 65 74 53 65 | 72 76 6c 65 74 43 6f 6e |<b>getSe|rvletCon|
|00002390| 66 69 67 3c 2f 62 3e 3c | 2f 61 3e 28 29 0a 20 20 |fig</b><|/a>(). |
|000023a0| 3c 64 64 3e 20 20 52 65 | 74 75 72 6e 73 20 61 20 |<dd> Re|turns a |
|000023b0| 73 65 72 76 6c 65 74 20 | 63 6f 6e 66 69 67 20 6f |servlet |config o|
|000023c0| 62 6a 65 63 74 2c 20 77 | 68 69 63 68 20 63 6f 6e |bject, w|hich con|
|000023d0| 74 61 69 6e 73 20 61 6e | 79 0a 20 69 6e 69 74 69 |tains an|y. initi|
|000023e0| 61 6c 69 7a 61 74 69 6f | 6e 20 70 61 72 61 6d 65 |alizatio|n parame|
|000023f0| 74 65 72 73 20 61 6e 64 | 20 73 74 61 72 74 75 70 |ters and| startup|
|00002400| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 66 | configu|ration f|
|00002410| 6f 72 20 74 68 69 73 0a | 20 73 65 72 76 6c 65 74 |or this.| servlet|
|00002420| 2e 0a 20 20 3c 64 74 3e | 20 3c 69 6d 67 20 73 72 |.. <dt>| <img sr|
|00002430| 63 3d 22 69 6d 61 67 65 | 73 2f 72 65 64 2d 62 61 |c="image|s/red-ba|
|00002440| 6c 6c 2d 73 6d 61 6c 6c | 2e 67 69 66 22 20 77 69 |ll-small|.gif" wi|
|00002450| 64 74 68 3d 36 20 68 65 | 69 67 68 74 3d 36 20 61 |dth=6 he|ight=6 a|
|00002460| 6c 74 3d 22 20 6f 20 22 | 3e 0a 09 3c 61 20 68 72 |lt=" o "|>..<a hr|
|00002470| 65 66 3d 22 23 67 65 74 | 53 65 72 76 6c 65 74 49 |ef="#get|ServletI|
|00002480| 6e 66 6f 28 29 22 3e 3c | 62 3e 67 65 74 53 65 72 |nfo()"><|b>getSer|
|00002490| 76 6c 65 74 49 6e 66 6f | 3c 2f 62 3e 3c 2f 61 3e |vletInfo|</b></a>|
|000024a0| 28 29 0a 20 20 3c 64 64 | 3e 20 20 52 65 74 75 72 |(). <dd|> Retur|
|000024b0| 6e 73 20 61 20 73 74 72 | 69 6e 67 20 63 6f 6e 74 |ns a str|ing cont|
|000024c0| 61 69 6e 69 6e 67 20 69 | 6e 66 6f 72 6d 61 74 69 |aining i|nformati|
|000024d0| 6f 6e 20 61 62 6f 75 74 | 20 74 68 65 20 73 65 72 |on about| the ser|
|000024e0| 76 6c 65 74 2c 20 73 75 | 63 68 20 61 73 0a 20 69 |vlet, su|ch as. i|
|000024f0| 74 73 20 61 75 74 68 6f | 72 2c 20 76 65 72 73 69 |ts autho|r, versi|
|00002500| 6f 6e 2c 20 61 6e 64 20 | 63 6f 70 79 72 69 67 68 |on, and |copyrigh|
|00002510| 74 2e 0a 20 20 3c 64 74 | 3e 20 3c 69 6d 67 20 73 |t.. <dt|> <img s|
|00002520| 72 63 3d 22 69 6d 61 67 | 65 73 2f 72 65 64 2d 62 |rc="imag|es/red-b|
|00002530| 61 6c 6c 2d 73 6d 61 6c | 6c 2e 67 69 66 22 20 77 |all-smal|l.gif" w|
|00002540| 69 64 74 68 3d 36 20 68 | 65 69 67 68 74 3d 36 20 |idth=6 h|eight=6 |
|00002550| 61 6c 74 3d 22 20 6f 20 | 22 3e 0a 09 3c 61 20 68 |alt=" o |">..<a h|
|00002560| 72 65 66 3d 22 23 69 6e | 69 74 28 6a 61 76 61 78 |ref="#in|it(javax|
|00002570| 2e 73 65 72 76 6c 65 74 | 2e 53 65 72 76 6c 65 74 |.servlet|.Servlet|
|00002580| 43 6f 6e 66 69 67 29 22 | 3e 3c 62 3e 69 6e 69 74 |Config)"|><b>init|
|00002590| 3c 2f 62 3e 3c 2f 61 3e | 28 53 65 72 76 6c 65 74 |</b></a>|(Servlet|
|000025a0| 43 6f 6e 66 69 67 29 0a | 20 20 3c 64 64 3e 20 20 |Config).| <dd> |
|000025b0| 49 6e 69 74 69 61 6c 69 | 7a 65 73 20 74 68 65 20 |Initiali|zes the |
|000025c0| 73 65 72 76 6c 65 74 2e | 0a 20 20 3c 64 74 3e 20 |servlet.|. <dt> |
|000025d0| 3c 69 6d 67 20 73 72 63 | 3d 22 69 6d 61 67 65 73 |<img src|="images|
|000025e0| 2f 72 65 64 2d 62 61 6c | 6c 2d 73 6d 61 6c 6c 2e |/red-bal|l-small.|
|000025f0| 67 69 66 22 20 77 69 64 | 74 68 3d 36 20 68 65 69 |gif" wid|th=6 hei|
|00002600| 67 68 74 3d 36 20 61 6c | 74 3d 22 20 6f 20 22 3e |ght=6 al|t=" o ">|
|00002610| 0a 09 3c 61 20 68 72 65 | 66 3d 22 23 73 65 72 76 |..<a hre|f="#serv|
|00002620| 69 63 65 28 6a 61 76 61 | 78 2e 73 65 72 76 6c 65 |ice(java|x.servle|
|00002630| 74 2e 53 65 72 76 6c 65 | 74 52 65 71 75 65 73 74 |t.Servle|tRequest|
|00002640| 2c 20 6a 61 76 61 78 2e | 73 65 72 76 6c 65 74 2e |, javax.|servlet.|
|00002650| 53 65 72 76 6c 65 74 52 | 65 73 70 6f 6e 73 65 29 |ServletR|esponse)|
|00002660| 22 3e 3c 62 3e 73 65 72 | 76 69 63 65 3c 2f 62 3e |"><b>ser|vice</b>|
|00002670| 3c 2f 61 3e 28 53 65 72 | 76 6c 65 74 52 65 71 75 |</a>(Ser|vletRequ|
|00002680| 65 73 74 2c 20 53 65 72 | 76 6c 65 74 52 65 73 70 |est, Ser|vletResp|
|00002690| 6f 6e 73 65 29 0a 20 20 | 3c 64 64 3e 20 20 43 61 |onse). |<dd> Ca|
|000026a0| 72 72 69 65 73 20 6f 75 | 74 20 61 20 73 69 6e 67 |rries ou|t a sing|
|000026b0| 6c 65 20 72 65 71 75 65 | 73 74 20 66 72 6f 6d 20 |le reque|st from |
|000026c0| 74 68 65 20 63 6c 69 65 | 6e 74 2e 0a 3c 2f 64 6c |the clie|nt..</dl|
|000026d0| 3e 0a 3c 61 20 6e 61 6d | 65 3d 22 6d 65 74 68 6f |>.<a nam|e="metho|
|000026e0| 64 73 22 3e 3c 2f 61 3e | 0a 3c 68 32 3e 0a 20 20 |ds"></a>|.<h2>. |
|000026f0| 3c 69 6d 67 20 73 72 63 | 3d 22 69 6d 61 67 65 73 |<img src|="images|
|00002700| 2f 6d 65 74 68 6f 64 73 | 2e 67 69 66 22 20 77 69 |/methods|.gif" wi|
|00002710| 64 74 68 3d 31 35 31 20 | 68 65 69 67 68 74 3d 33 |dth=151 |height=3|
|00002720| 38 20 61 6c 74 3d 22 4d | 65 74 68 6f 64 73 22 3e |8 alt="M|ethods">|
|00002730| 0a 3c 2f 68 32 3e 0a 3c | 61 20 6e 61 6d 65 3d 22 |.</h2>.<|a name="|
|00002740| 69 6e 69 74 28 6a 61 76 | 61 78 2e 73 65 72 76 6c |init(jav|ax.servl|
|00002750| 65 74 2e 53 65 72 76 6c | 65 74 43 6f 6e 66 69 67 |et.Servl|etConfig|
|00002760| 29 22 3e 3c 69 6d 67 20 | 73 72 63 3d 22 69 6d 61 |)"><img |src="ima|
|00002770| 67 65 73 2f 72 65 64 2d | 62 61 6c 6c 2e 67 69 66 |ges/red-|ball.gif|
|00002780| 22 20 77 69 64 74 68 3d | 31 32 20 68 65 69 67 68 |" width=|12 heigh|
|00002790| 74 3d 31 32 20 61 6c 74 | 3d 22 20 6f 20 22 3e 3c |t=12 alt|=" o "><|
|000027a0| 2f 61 3e 0a 3c 61 20 6e | 61 6d 65 3d 22 69 6e 69 |/a>.<a n|ame="ini|
|000027b0| 74 22 3e 3c 62 3e 69 6e | 69 74 3c 2f 62 3e 3c 2f |t"><b>in|it</b></|
|000027c0| 61 3e 0a 3c 70 72 65 3e | 0a 20 70 75 62 6c 69 63 |a>.<pre>|. public|
|000027d0| 20 61 62 73 74 72 61 63 | 74 20 76 6f 69 64 20 69 | abstrac|t void i|
|000027e0| 6e 69 74 28 3c 61 20 68 | 72 65 66 3d 22 6a 61 76 |nit(<a h|ref="jav|
|000027f0| 61 78 2e 73 65 72 76 6c | 65 74 2e 53 65 72 76 6c |ax.servl|et.Servl|
|00002800| 65 74 43 6f 6e 66 69 67 | 2e 68 74 6d 6c 23 5f 74 |etConfig|.html#_t|
|00002810| 6f 70 5f 22 3e 53 65 72 | 76 6c 65 74 43 6f 6e 66 |op_">Ser|vletConf|
|00002820| 69 67 3c 2f 61 3e 20 63 | 6f 6e 66 69 67 29 20 74 |ig</a> c|onfig) t|
|00002830| 68 72 6f 77 73 20 3c 61 | 20 68 72 65 66 3d 22 6a |hrows <a| href="j|
|00002840| 61 76 61 78 2e 73 65 72 | 76 6c 65 74 2e 53 65 72 |avax.ser|vlet.Ser|
|00002850| 76 6c 65 74 45 78 63 65 | 70 74 69 6f 6e 2e 68 74 |vletExce|ption.ht|
|00002860| 6d 6c 23 5f 74 6f 70 5f | 22 3e 53 65 72 76 6c 65 |ml#_top_|">Servle|
|00002870| 74 45 78 63 65 70 74 69 | 6f 6e 3c 2f 61 3e 0a 3c |tExcepti|on</a>.<|
|00002880| 2f 70 72 65 3e 0a 3c 64 | 6c 3e 0a 20 20 3c 64 64 |/pre>.<d|l>. <dd|
|00002890| 3e 20 49 6e 69 74 69 61 | 6c 69 7a 65 73 20 74 68 |> Initia|lizes th|
|000028a0| 65 20 73 65 72 76 6c 65 | 74 2e 20 54 68 65 20 6d |e servle|t. The m|
|000028b0| 65 74 68 6f 64 20 69 73 | 20 63 61 6c 6c 65 64 20 |ethod is| called |
|000028c0| 6f 6e 63 65 2c 0a 20 61 | 75 74 6f 6d 61 74 69 63 |once,. a|utomatic|
|000028d0| 61 6c 6c 79 2c 20 62 79 | 20 74 68 65 20 6e 65 74 |ally, by| the net|
|000028e0| 77 6f 72 6b 20 73 65 72 | 76 69 63 65 20 77 68 65 |work ser|vice whe|
|000028f0| 6e 20 69 74 20 6c 6f 61 | 64 73 20 74 68 65 20 73 |n it loa|ds the s|
|00002900| 65 72 76 6c 65 74 2e 0a | 20 49 74 20 69 73 20 67 |ervlet..| It is g|
|00002910| 75 61 72 61 6e 74 65 65 | 64 20 74 6f 20 66 69 6e |uarantee|d to fin|
|00002920| 69 73 68 20 62 65 66 6f | 72 65 20 61 6e 79 20 73 |ish befo|re any s|
|00002930| 65 72 76 69 63 65 20 72 | 65 71 75 65 73 74 73 20 |ervice r|equests |
|00002940| 61 72 65 0a 20 61 63 63 | 65 70 74 65 64 2e 20 20 |are. acc|epted. |
|00002950| 41 66 74 65 72 20 69 6e | 69 74 69 61 6c 69 7a 61 |After in|itializa|
|00002960| 74 69 6f 6e 2c 20 74 68 | 65 20 6e 65 74 77 6f 72 |tion, th|e networ|
|00002970| 6b 20 73 65 72 76 69 63 | 65 20 64 6f 65 73 20 6e |k servic|e does n|
|00002980| 6f 74 0a 20 63 61 6c 6c | 20 74 68 65 20 69 6e 69 |ot. call| the ini|
|00002990| 74 20 6d 65 74 68 6f 64 | 20 61 67 61 69 6e 20 75 |t method| again u|
|000029a0| 6e 6c 65 73 73 20 69 74 | 20 72 65 6c 6f 61 64 73 |nless it| reloads|
|000029b0| 20 74 68 65 20 73 65 72 | 76 6c 65 74 20 61 66 74 | the ser|vlet aft|
|000029c0| 65 72 0a 20 69 74 20 68 | 61 73 20 75 6e 6c 6f 61 |er. it h|as unloa|
|000029d0| 64 65 64 20 61 6e 64 20 | 64 65 73 74 72 6f 79 65 |ded and |destroye|
|000029e0| 64 20 69 74 2e 0a 20 3c | 70 3e 54 68 65 20 69 6e |d it.. <|p>The in|
|000029f0| 69 74 20 6d 65 74 68 6f | 64 20 73 68 6f 75 6c 64 |it metho|d should|
|00002a00| 20 73 61 76 65 20 74 68 | 65 20 53 65 72 76 6c 65 | save th|e Servle|
|00002a10| 74 43 6f 6e 66 69 67 20 | 6f 62 6a 65 63 74 20 73 |tConfig |object s|
|00002a20| 6f 20 74 68 61 74 0a 20 | 69 74 20 63 61 6e 20 62 |o that. |it can b|
|00002a30| 65 20 72 65 74 75 72 6e | 65 64 20 62 79 20 74 68 |e return|ed by th|
|00002a40| 65 20 67 65 74 53 65 72 | 76 6c 65 74 43 6f 6e 66 |e getSer|vletConf|
|00002a50| 69 67 20 6d 65 74 68 6f | 64 2e 20 20 49 66 20 61 |ig metho|d. If a|
|00002a60| 20 66 61 74 61 6c 0a 20 | 69 6e 69 74 69 61 6c 69 | fatal. |initiali|
|00002a70| 7a 61 74 69 6f 6e 20 65 | 72 72 6f 72 20 6f 63 63 |zation e|rror occ|
|00002a80| 75 72 73 2c 20 74 68 65 | 20 69 6e 69 74 20 6d 65 |urs, the| init me|
|00002a90| 74 68 6f 64 20 73 68 6f | 75 6c 64 20 74 68 72 6f |thod sho|uld thro|
|00002aa0| 77 20 61 6e 0a 20 61 70 | 70 72 6f 70 72 69 61 74 |w an. ap|propriat|
|00002ab0| 65 20 22 55 6e 61 76 61 | 69 6c 61 62 6c 65 45 78 |e "Unava|ilableEx|
|00002ac0| 63 65 70 74 69 6f 6e 22 | 20 65 78 63 65 70 74 69 |ception"| excepti|
|00002ad0| 6f 6e 2e 20 20 49 74 20 | 73 68 6f 75 6c 64 20 6e |on. It |should n|
|00002ae0| 65 76 65 72 0a 20 63 61 | 6c 6c 20 74 68 65 20 6d |ever. ca|ll the m|
|00002af0| 65 74 68 6f 64 20 53 79 | 73 74 65 6d 2e 65 78 69 |ethod Sy|stem.exi|
|00002b00| 74 2e 0a 3c 70 3e 0a 20 | 20 3c 64 64 3e 3c 64 6c |t..<p>. | <dd><dl|
|00002b10| 3e 0a 20 20 20 20 3c 64 | 74 3e 20 3c 62 3e 50 61 |>. <d|t> <b>Pa|
|00002b20| 72 61 6d 65 74 65 72 73 | 3a 3c 2f 62 3e 0a 20 20 |rameters|:</b>. |
|00002b30| 20 20 3c 64 64 3e 20 63 | 6f 6e 66 69 67 20 2d 20 | <dd> c|onfig - |
|00002b40| 6f 62 6a 65 63 74 20 63 | 6f 6e 74 61 69 6e 69 6e |object c|ontainin|
|00002b50| 67 20 74 68 65 20 73 65 | 72 76 6c 65 74 27 73 20 |g the se|rvlet's |
|00002b60| 73 74 61 72 74 75 70 0a | 20 63 6f 6e 66 69 67 75 |startup.| configu|
|00002b70| 72 61 74 69 6f 6e 20 61 | 6e 64 20 69 6e 69 74 69 |ration a|nd initi|
|00002b80| 61 6c 69 7a 61 74 69 6f | 6e 20 70 61 72 61 6d 65 |alizatio|n parame|
|00002b90| 74 65 72 73 0a 20 20 20 | 20 3c 64 74 3e 20 3c 62 |ters. | <dt> <b|
|00002ba0| 3e 54 68 72 6f 77 73 3a | 3c 2f 62 3e 20 3c 61 20 |>Throws:|</b> <a |
|00002bb0| 68 72 65 66 3d 22 6a 61 | 76 61 78 2e 73 65 72 76 |href="ja|vax.serv|
|00002bc0| 6c 65 74 2e 53 65 72 76 | 6c 65 74 45 78 63 65 70 |let.Serv|letExcep|
|00002bd0| 74 69 6f 6e 2e 68 74 6d | 6c 23 5f 74 6f 70 5f 22 |tion.htm|l#_top_"|
|00002be0| 3e 53 65 72 76 6c 65 74 | 45 78 63 65 70 74 69 6f |>Servlet|Exceptio|
|00002bf0| 6e 3c 2f 61 3e 0a 20 20 | 20 20 3c 64 64 3e 20 69 |n</a>. | <dd> i|
|00002c00| 66 20 61 20 73 65 72 76 | 6c 65 74 20 65 78 63 65 |f a serv|let exce|
|00002c10| 70 74 69 6f 6e 20 68 61 | 73 20 6f 63 63 75 72 72 |ption ha|s occurr|
|00002c20| 65 64 0a 20 20 20 20 3c | 64 74 3e 20 3c 62 3e 53 |ed. <|dt> <b>S|
|00002c30| 65 65 20 41 6c 73 6f 3a | 3c 2f 62 3e 0a 20 20 20 |ee Also:|</b>. |
|00002c40| 20 3c 64 64 3e 20 3c 61 | 20 68 72 65 66 3d 22 6a | <dd> <a| href="j|
|00002c50| 61 76 61 78 2e 73 65 72 | 76 6c 65 74 2e 55 6e 61 |avax.ser|vlet.Una|
|00002c60| 76 61 69 6c 61 62 6c 65 | 45 78 63 65 70 74 69 6f |vailable|Exceptio|
|00002c70| 6e 2e 68 74 6d 6c 23 5f | 74 6f 70 5f 22 3e 55 6e |n.html#_|top_">Un|
|00002c80| 61 76 61 69 6c 61 62 6c | 65 45 78 63 65 70 74 69 |availabl|eExcepti|
|00002c90| 6f 6e 3c 2f 61 3e 2c 20 | 3c 61 20 68 72 65 66 3d |on</a>, |<a href=|
|00002ca0| 22 23 67 65 74 53 65 72 | 76 6c 65 74 43 6f 6e 66 |"#getSer|vletConf|
|00002cb0| 69 67 28 29 22 3e 67 65 | 74 53 65 72 76 6c 65 74 |ig()">ge|tServlet|
|00002cc0| 43 6f 6e 66 69 67 3c 2f | 61 3e 0a 20 20 3c 2f 64 |Config</|a>. </d|
|00002cd0| 6c 3e 3c 2f 64 64 3e 0a | 3c 2f 64 6c 3e 0a 3c 61 |l></dd>.|</dl>.<a|
|00002ce0| 20 6e 61 6d 65 3d 22 67 | 65 74 53 65 72 76 6c 65 | name="g|etServle|
|00002cf0| 74 43 6f 6e 66 69 67 28 | 29 22 3e 3c 69 6d 67 20 |tConfig(|)"><img |
|00002d00| 73 72 63 3d 22 69 6d 61 | 67 65 73 2f 72 65 64 2d |src="ima|ges/red-|
|00002d10| 62 61 6c 6c 2e 67 69 66 | 22 20 77 69 64 74 68 3d |ball.gif|" width=|
|00002d20| 31 32 20 68 65 69 67 68 | 74 3d 31 32 20 61 6c 74 |12 heigh|t=12 alt|
|00002d30| 3d 22 20 6f 20 22 3e 3c | 2f 61 3e 0a 3c 61 20 6e |=" o "><|/a>.<a n|
|00002d40| 61 6d 65 3d 22 67 65 74 | 53 65 72 76 6c 65 74 43 |ame="get|ServletC|
|00002d50| 6f 6e 66 69 67 22 3e 3c | 62 3e 67 65 74 53 65 72 |onfig"><|b>getSer|
|00002d60| 76 6c 65 74 43 6f 6e 66 | 69 67 3c 2f 62 3e 3c 2f |vletConf|ig</b></|
|00002d70| 61 3e 0a 3c 70 72 65 3e | 0a 20 70 75 62 6c 69 63 |a>.<pre>|. public|
|00002d80| 20 61 62 73 74 72 61 63 | 74 20 3c 61 20 68 72 65 | abstrac|t <a hre|
|00002d90| 66 3d 22 6a 61 76 61 78 | 2e 73 65 72 76 6c 65 74 |f="javax|.servlet|
|00002da0| 2e 53 65 72 76 6c 65 74 | 43 6f 6e 66 69 67 2e 68 |.Servlet|Config.h|
|00002db0| 74 6d 6c 23 5f 74 6f 70 | 5f 22 3e 53 65 72 76 6c |tml#_top|_">Servl|
|00002dc0| 65 74 43 6f 6e 66 69 67 | 3c 2f 61 3e 20 67 65 74 |etConfig|</a> get|
|00002dd0| 53 65 72 76 6c 65 74 43 | 6f 6e 66 69 67 28 29 0a |ServletC|onfig().|
|00002de0| 3c 2f 70 72 65 3e 0a 3c | 64 6c 3e 0a 20 20 3c 64 |</pre>.<|dl>. <d|
|00002df0| 64 3e 20 52 65 74 75 72 | 6e 73 20 61 20 73 65 72 |d> Retur|ns a ser|
|00002e00| 76 6c 65 74 20 63 6f 6e | 66 69 67 20 6f 62 6a 65 |vlet con|fig obje|
|00002e10| 63 74 2c 20 77 68 69 63 | 68 20 63 6f 6e 74 61 69 |ct, whic|h contai|
|00002e20| 6e 73 20 61 6e 79 0a 20 | 69 6e 69 74 69 61 6c 69 |ns any. |initiali|
|00002e30| 7a 61 74 69 6f 6e 20 70 | 61 72 61 6d 65 74 65 72 |zation p|arameter|
|00002e40| 73 20 61 6e 64 20 73 74 | 61 72 74 75 70 20 63 6f |s and st|artup co|
|00002e50| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 66 6f 72 20 |nfigurat|ion for |
|00002e60| 74 68 69 73 0a 20 73 65 | 72 76 6c 65 74 2e 20 20 |this. se|rvlet. |
|00002e70| 54 68 69 73 20 69 73 20 | 74 68 65 20 53 65 72 76 |This is |the Serv|
|00002e80| 6c 65 74 43 6f 6e 66 69 | 67 20 6f 62 6a 65 63 74 |letConfi|g object|
|00002e90| 20 70 61 73 73 65 64 20 | 74 6f 20 74 68 65 20 69 | passed |to the i|
|00002ea0| 6e 69 74 0a 20 6d 65 74 | 68 6f 64 3b 20 74 68 65 |nit. met|hod; the|
|00002eb0| 20 69 6e 69 74 20 6d 65 | 74 68 6f 64 20 73 68 6f | init me|thod sho|
|00002ec0| 75 6c 64 20 68 61 76 65 | 20 73 74 6f 72 65 64 20 |uld have| stored |
|00002ed0| 74 68 69 73 20 6f 62 6a | 65 63 74 20 73 6f 20 74 |this obj|ect so t|
|00002ee0| 68 61 74 0a 20 74 68 69 | 73 20 6d 65 74 68 6f 64 |hat. thi|s method|
|00002ef0| 20 63 6f 75 6c 64 20 72 | 65 74 75 72 6e 20 69 74 | could r|eturn it|
|00002f00| 2e 0a 3c 70 3e 0a 20 20 | 3c 64 64 3e 3c 64 6c 3e |..<p>. |<dd><dl>|
|00002f10| 0a 20 20 20 20 3c 64 74 | 3e 20 3c 62 3e 53 65 65 |. <dt|> <b>See|
|00002f20| 20 41 6c 73 6f 3a 3c 2f | 62 3e 0a 20 20 20 20 3c | Also:</|b>. <|
|00002f30| 64 64 3e 20 3c 61 20 68 | 72 65 66 3d 22 23 69 6e |dd> <a h|ref="#in|
|00002f40| 69 74 22 3e 69 6e 69 74 | 3c 2f 61 3e 0a 20 20 3c |it">init|</a>. <|
|00002f50| 2f 64 6c 3e 3c 2f 64 64 | 3e 0a 3c 2f 64 6c 3e 0a |/dl></dd|>.</dl>.|
|00002f60| 3c 61 20 6e 61 6d 65 3d | 22 73 65 72 76 69 63 65 |<a name=|"service|
|00002f70| 28 6a 61 76 61 78 2e 73 | 65 72 76 6c 65 74 2e 53 |(javax.s|ervlet.S|
|00002f80| 65 72 76 6c 65 74 52 65 | 71 75 65 73 74 2c 20 6a |ervletRe|quest, j|
|00002f90| 61 76 61 78 2e 73 65 72 | 76 6c 65 74 2e 53 65 72 |avax.ser|vlet.Ser|
|00002fa0| 76 6c 65 74 52 65 73 70 | 6f 6e 73 65 29 22 3e 3c |vletResp|onse)"><|
|00002fb0| 69 6d 67 20 73 72 63 3d | 22 69 6d 61 67 65 73 2f |img src=|"images/|
|00002fc0| 72 65 64 2d 62 61 6c 6c | 2e 67 69 66 22 20 77 69 |red-ball|.gif" wi|
|00002fd0| 64 74 68 3d 31 32 20 68 | 65 69 67 68 74 3d 31 32 |dth=12 h|eight=12|
|00002fe0| 20 61 6c 74 3d 22 20 6f | 20 22 3e 3c 2f 61 3e 0a | alt=" o| "></a>.|
|00002ff0| 3c 61 20 6e 61 6d 65 3d | 22 73 65 72 76 69 63 65 |<a name=|"service|
|00003000| 22 3e 3c 62 3e 73 65 72 | 76 69 63 65 3c 2f 62 3e |"><b>ser|vice</b>|
|00003010| 3c 2f 61 3e 0a 3c 70 72 | 65 3e 0a 20 70 75 62 6c |</a>.<pr|e>. publ|
|00003020| 69 63 20 61 62 73 74 72 | 61 63 74 20 76 6f 69 64 |ic abstr|act void|
|00003030| 20 73 65 72 76 69 63 65 | 28 3c 61 20 68 72 65 66 | service|(<a href|
|00003040| 3d 22 6a 61 76 61 78 2e | 73 65 72 76 6c 65 74 2e |="javax.|servlet.|
|00003050| 53 65 72 76 6c 65 74 52 | 65 71 75 65 73 74 2e 68 |ServletR|equest.h|
|00003060| 74 6d 6c 23 5f 74 6f 70 | 5f 22 3e 53 65 72 76 6c |tml#_top|_">Servl|
|00003070| 65 74 52 65 71 75 65 73 | 74 3c 2f 61 3e 20 72 65 |etReques|t</a> re|
|00003080| 71 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |q,. | |
|00003090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000030a0| 20 3c 61 20 68 72 65 66 | 3d 22 6a 61 76 61 78 2e | <a href|="javax.|
|000030b0| 73 65 72 76 6c 65 74 2e | 53 65 72 76 6c 65 74 52 |servlet.|ServletR|
|000030c0| 65 73 70 6f 6e 73 65 2e | 68 74 6d 6c 23 5f 74 6f |esponse.|html#_to|
|000030d0| 70 5f 22 3e 53 65 72 76 | 6c 65 74 52 65 73 70 6f |p_">Serv|letRespo|
|000030e0| 6e 73 65 3c 2f 61 3e 20 | 72 65 73 29 20 74 68 72 |nse</a> |res) thr|
|000030f0| 6f 77 73 20 3c 61 20 68 | 72 65 66 3d 22 6a 61 76 |ows <a h|ref="jav|
|00003100| 61 78 2e 73 65 72 76 6c | 65 74 2e 53 65 72 76 6c |ax.servl|et.Servl|
|00003110| 65 74 45 78 63 65 70 74 | 69 6f 6e 2e 68 74 6d 6c |etExcept|ion.html|
|00003120| 23 5f 74 6f 70 5f 22 3e | 53 65 72 76 6c 65 74 45 |#_top_">|ServletE|
|00003130| 78 63 65 70 74 69 6f 6e | 3c 2f 61 3e 2c 20 49 4f |xception|</a>, IO|
|00003140| 45 78 63 65 70 74 69 6f | 6e 0a 3c 2f 70 72 65 3e |Exceptio|n.</pre>|
|00003150| 0a 3c 64 6c 3e 0a 20 20 | 3c 64 64 3e 20 43 61 72 |.<dl>. |<dd> Car|
|00003160| 72 69 65 73 20 6f 75 74 | 20 61 20 73 69 6e 67 6c |ries out| a singl|
|00003170| 65 20 72 65 71 75 65 73 | 74 20 66 72 6f 6d 20 74 |e reques|t from t|
|00003180| 68 65 20 63 6c 69 65 6e | 74 2e 20 20 54 68 65 20 |he clien|t. The |
|00003190| 6d 65 74 68 6f 64 0a 20 | 69 6d 70 6c 65 6d 65 6e |method. |implemen|
|000031a0| 74 73 20 61 20 72 65 71 | 75 65 73 74 20 61 6e 64 |ts a req|uest and|
|000031b0| 20 72 65 73 70 6f 6e 73 | 65 20 70 61 72 61 64 69 | respons|e paradi|
|000031c0| 67 6d 2e 20 20 54 68 65 | 20 72 65 71 75 65 73 74 |gm. The| request|
|000031d0| 20 6f 62 6a 65 63 74 0a | 20 63 6f 6e 74 61 69 6e | object.| contain|
|000031e0| 73 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |s inform|ation ab|
|000031f0| 6f 75 74 20 74 68 65 20 | 73 65 72 76 69 63 65 20 |out the |service |
|00003200| 72 65 71 75 65 73 74 2c | 20 69 6e 63 6c 75 64 69 |request,| includi|
|00003210| 6e 67 0a 20 70 61 72 61 | 6d 65 74 65 72 73 20 70 |ng. para|meters p|
|00003220| 72 6f 76 69 64 65 64 20 | 62 79 20 74 68 65 20 63 |rovided |by the c|
|00003230| 6c 69 65 6e 74 2e 20 20 | 54 68 65 20 72 65 73 70 |lient. |The resp|
|00003240| 6f 6e 73 65 20 6f 62 6a | 65 63 74 20 69 73 20 75 |onse obj|ect is u|
|00003250| 73 65 64 0a 20 74 6f 20 | 72 65 74 75 72 6e 20 69 |sed. to |return i|
|00003260| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 74 6f 20 74 68 |nformati|on to th|
|00003270| 65 20 63 6c 69 65 6e 74 | 2e 20 20 54 68 65 20 72 |e client|. The r|
|00003280| 65 71 75 65 73 74 20 61 | 6e 64 20 72 65 73 70 6f |equest a|nd respo|
|00003290| 6e 73 65 0a 20 6f 62 6a | 65 63 74 73 20 72 65 6c |nse. obj|ects rel|
|000032a0| 79 20 6f 6e 20 74 68 65 | 20 75 6e 64 65 72 6c 79 |y on the| underly|
|000032b0| 69 6e 67 20 6e 65 74 77 | 6f 72 6b 20 74 72 61 6e |ing netw|ork tran|
|000032c0| 73 70 6f 72 74 20 66 6f | 72 20 71 75 61 6c 69 74 |sport fo|r qualit|
|000032d0| 79 20 6f 66 0a 20 73 65 | 72 76 69 63 65 20 67 75 |y of. se|rvice gu|
|000032e0| 61 72 61 6e 74 65 65 73 | 2c 20 73 75 63 68 20 61 |arantees|, such a|
|000032f0| 73 20 72 65 6f 72 64 65 | 72 69 6e 67 2c 20 64 75 |s reorde|ring, du|
|00003300| 70 6c 69 63 61 74 69 6f | 6e 2c 20 70 72 69 76 61 |plicatio|n, priva|
|00003310| 63 79 2c 0a 20 61 6e 64 | 20 61 75 74 68 65 6e 74 |cy,. and| authent|
|00003320| 69 63 61 74 69 6f 6e 2e | 0a 20 3c 70 3e 53 65 72 |ication.|. <p>Ser|
|00003330| 76 69 63 65 20 72 65 71 | 75 65 73 74 73 20 61 72 |vice req|uests ar|
|00003340| 65 20 6e 6f 74 20 68 61 | 6e 64 6c 65 64 20 75 6e |e not ha|ndled un|
|00003350| 74 69 6c 20 73 65 72 76 | 6c 65 74 20 69 6e 69 74 |til serv|let init|
|00003360| 69 61 6c 69 7a 61 74 69 | 6f 6e 0a 20 68 61 73 20 |ializati|on. has |
|00003370| 63 6f 6d 70 6c 65 74 65 | 64 2e 20 20 41 6e 79 20 |complete|d. Any |
|00003380| 72 65 71 75 65 73 74 73 | 20 66 6f 72 20 73 65 72 |requests| for ser|
|00003390| 76 69 63 65 20 74 68 61 | 74 20 61 72 65 20 72 65 |vice tha|t are re|
|000033a0| 63 65 69 76 65 64 0a 20 | 64 75 72 69 6e 67 20 69 |ceived. |during i|
|000033b0| 6e 69 74 69 61 6c 69 7a | 61 74 69 6f 6e 20 62 6c |nitializ|ation bl|
|000033c0| 6f 63 6b 20 75 6e 74 69 | 6c 20 69 74 20 69 73 20 |ock unti|l it is |
|000033d0| 63 6f 6d 70 6c 65 74 65 | 2e 20 20 4e 6f 74 65 20 |complete|. Note |
|000033e0| 74 68 61 74 0a 20 73 65 | 72 76 6c 65 74 73 20 74 |that. se|rvlets t|
|000033f0| 79 70 69 63 61 6c 6c 79 | 20 72 75 6e 20 69 6e 73 |ypically| run ins|
|00003400| 69 64 65 20 6d 75 6c 74 | 69 2d 74 68 72 65 61 64 |ide mult|i-thread|
|00003410| 65 64 20 73 65 72 76 65 | 72 73 3b 20 73 65 72 76 |ed serve|rs; serv|
|00003420| 65 72 73 0a 20 63 61 6e | 20 68 61 6e 64 6c 65 20 |ers. can| handle |
|00003430| 6d 75 6c 74 69 70 6c 65 | 20 73 65 72 76 69 63 65 |multiple| service|
|00003440| 20 72 65 71 75 65 73 74 | 73 20 73 69 6d 75 6c 74 | request|s simult|
|00003450| 61 6e 65 6f 75 73 6c 79 | 2e 20 20 49 74 20 69 73 |aneously|. It is|
|00003460| 20 74 68 65 0a 20 73 65 | 72 76 6c 65 74 20 77 72 | the. se|rvlet wr|
|00003470| 69 74 65 72 27 73 20 72 | 65 73 70 6f 6e 73 69 62 |iter's r|esponsib|
|00003480| 69 6c 69 74 79 20 74 6f | 20 73 79 6e 63 68 72 6f |ility to| synchro|
|00003490| 6e 69 7a 65 20 61 63 63 | 65 73 73 20 74 6f 20 61 |nize acc|ess to a|
|000034a0| 6e 79 0a 20 73 68 61 72 | 65 64 20 72 65 73 6f 75 |ny. shar|ed resou|
|000034b0| 72 63 65 73 2c 20 73 75 | 63 68 20 61 73 20 6e 65 |rces, su|ch as ne|
|000034c0| 74 77 6f 72 6b 20 63 6f | 6e 6e 65 63 74 69 6f 6e |twork co|nnection|
|000034d0| 73 20 6f 72 20 74 68 65 | 20 73 65 72 76 6c 65 74 |s or the| servlet|
|000034e0| 27 73 0a 20 63 6c 61 73 | 73 20 61 6e 64 20 69 6e |'s. clas|s and in|
|000034f0| 73 74 61 6e 63 65 20 76 | 61 72 69 61 62 6c 65 73 |stance v|ariables|
|00003500| 2e 20 20 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |. Infor|mation o|
|00003510| 6e 20 6d 75 6c 74 69 2d | 74 68 72 65 61 64 65 64 |n multi-|threaded|
|00003520| 0a 20 70 72 6f 67 72 61 | 6d 6d 69 6e 67 20 69 6e |. progra|mming in|
|00003530| 20 4a 61 76 61 20 63 61 | 6e 20 62 65 20 66 6f 75 | Java ca|n be fou|
|00003540| 6e 64 20 69 6e 20 3c 61 | 0a 20 68 72 65 66 3d 22 |nd in <a|. href="|
|00003550| 68 74 74 70 3a 2f 2f 6a | 61 76 61 2e 73 75 6e 2e |http://j|ava.sun.|
|00003560| 63 6f 6d 2f 53 65 72 69 | 65 73 2f 54 75 74 6f 72 |com/Seri|es/Tutor|
|00003570| 69 61 6c 2f 6a 61 76 61 | 2f 74 68 72 65 61 64 73 |ial/java|/threads|
|00003580| 2f 6d 75 6c 74 69 74 68 | 72 65 61 64 65 64 2e 68 |/multith|readed.h|
|00003590| 74 6d 6c 22 3e 74 68 65 | 0a 20 4a 61 76 61 20 74 |tml">the|. Java t|
|000035a0| 75 74 6f 72 69 61 6c 20 | 6f 6e 20 6d 75 6c 74 69 |utorial |on multi|
|000035b0| 2d 74 68 72 65 61 64 65 | 64 20 70 72 6f 67 72 61 |-threade|d progra|
|000035c0| 6d 6d 69 6e 67 3c 2f 61 | 3e 2e 0a 3c 70 3e 0a 20 |mming</a|>..<p>. |
|000035d0| 20 3c 64 64 3e 3c 64 6c | 3e 0a 20 20 20 20 3c 64 | <dd><dl|>. <d|
|000035e0| 74 3e 20 3c 62 3e 50 61 | 72 61 6d 65 74 65 72 73 |t> <b>Pa|rameters|
|000035f0| 3a 3c 2f 62 3e 0a 20 20 | 20 20 3c 64 64 3e 20 72 |:</b>. | <dd> r|
|00003600| 65 71 20 2d 20 74 68 65 | 20 63 6c 69 65 6e 74 27 |eq - the| client'|
|00003610| 73 20 72 65 71 75 65 73 | 74 20 6f 66 20 74 68 65 |s reques|t of the|
|00003620| 20 73 65 72 76 6c 65 74 | 0a 20 20 20 20 3c 64 64 | servlet|. <dd|
|00003630| 3e 20 72 65 73 20 2d 20 | 74 68 65 20 73 65 72 76 |> res - |the serv|
|00003640| 6c 65 74 27 73 20 72 65 | 73 70 6f 6e 73 65 20 74 |let's re|sponse t|
|00003650| 6f 20 74 68 65 20 63 6c | 69 65 6e 74 0a 20 20 20 |o the cl|ient. |
|00003660| 20 3c 64 74 3e 20 3c 62 | 3e 54 68 72 6f 77 73 3a | <dt> <b|>Throws:|
|00003670| 3c 2f 62 3e 20 3c 61 20 | 68 72 65 66 3d 22 6a 61 |</b> <a |href="ja|
|00003680| 76 61 78 2e 73 65 72 76 | 6c 65 74 2e 53 65 72 76 |vax.serv|let.Serv|
|00003690| 6c 65 74 45 78 63 65 70 | 74 69 6f 6e 2e 68 74 6d |letExcep|tion.htm|
|000036a0| 6c 23 5f 74 6f 70 5f 22 | 3e 53 65 72 76 6c 65 74 |l#_top_"|>Servlet|
|000036b0| 45 78 63 65 70 74 69 6f | 6e 3c 2f 61 3e 0a 20 20 |Exceptio|n</a>. |
|000036c0| 20 20 3c 64 64 3e 20 69 | 66 20 61 20 73 65 72 76 | <dd> i|f a serv|
|000036d0| 6c 65 74 20 65 78 63 65 | 70 74 69 6f 6e 20 68 61 |let exce|ption ha|
|000036e0| 73 20 6f 63 63 75 72 72 | 65 64 0a 20 20 20 20 3c |s occurr|ed. <|
|000036f0| 64 74 3e 20 3c 62 3e 54 | 68 72 6f 77 73 3a 3c 2f |dt> <b>T|hrows:</|
|00003700| 62 3e 20 49 4f 45 78 63 | 65 70 74 69 6f 6e 0a 20 |b> IOExc|eption. |
|00003710| 20 20 20 3c 64 64 3e 20 | 69 66 20 61 6e 20 49 2f | <dd> |if an I/|
|00003720| 4f 20 65 78 63 65 70 74 | 69 6f 6e 20 68 61 73 20 |O except|ion has |
|00003730| 6f 63 63 75 72 72 65 64 | 0a 20 20 3c 2f 64 6c 3e |occurred|. </dl>|
|00003740| 3c 2f 64 64 3e 0a 3c 2f | 64 6c 3e 0a 3c 61 20 6e |</dd>.</|dl>.<a n|
|00003750| 61 6d 65 3d 22 67 65 74 | 53 65 72 76 6c 65 74 49 |ame="get|ServletI|
|00003760| 6e 66 6f 28 29 22 3e 3c | 69 6d 67 20 73 72 63 3d |nfo()"><|img src=|
|00003770| 22 69 6d 61 67 65 73 2f | 72 65 64 2d 62 61 6c 6c |"images/|red-ball|
|00003780| 2e 67 69 66 22 20 77 69 | 64 74 68 3d 31 32 20 68 |.gif" wi|dth=12 h|
|00003790| 65 69 67 68 74 3d 31 32 | 20 61 6c 74 3d 22 20 6f |eight=12| alt=" o|
|000037a0| 20 22 3e 3c 2f 61 3e 0a | 3c 61 20 6e 61 6d 65 3d | "></a>.|<a name=|
|000037b0| 22 67 65 74 53 65 72 76 | 6c 65 74 49 6e 66 6f 22 |"getServ|letInfo"|
|000037c0| 3e 3c 62 3e 67 65 74 53 | 65 72 76 6c 65 74 49 6e |><b>getS|ervletIn|
|000037d0| 66 6f 3c 2f 62 3e 3c 2f | 61 3e 0a 3c 70 72 65 3e |fo</b></|a>.<pre>|
|000037e0| 0a 20 70 75 62 6c 69 63 | 20 61 62 73 74 72 61 63 |. public| abstrac|
|000037f0| 74 20 53 74 72 69 6e 67 | 20 67 65 74 53 65 72 76 |t String| getServ|
|00003800| 6c 65 74 49 6e 66 6f 28 | 29 0a 3c 2f 70 72 65 3e |letInfo(|).</pre>|
|00003810| 0a 3c 64 6c 3e 0a 20 20 | 3c 64 64 3e 20 52 65 74 |.<dl>. |<dd> Ret|
|00003820| 75 72 6e 73 20 61 20 73 | 74 72 69 6e 67 20 63 6f |urns a s|tring co|
|00003830| 6e 74 61 69 6e 69 6e 67 | 20 69 6e 66 6f 72 6d 61 |ntaining| informa|
|00003840| 74 69 6f 6e 20 61 62 6f | 75 74 20 74 68 65 20 73 |tion abo|ut the s|
|00003850| 65 72 76 6c 65 74 2c 20 | 73 75 63 68 20 61 73 0a |ervlet, |such as.|
|00003860| 20 69 74 73 20 61 75 74 | 68 6f 72 2c 20 76 65 72 | its aut|hor, ver|
|00003870| 73 69 6f 6e 2c 20 61 6e | 64 20 63 6f 70 79 72 69 |sion, an|d copyri|
|00003880| 67 68 74 2e 0a 3c 70 3e | 0a 3c 2f 64 6c 3e 0a 3c |ght..<p>|.</dl>.<|
|00003890| 61 20 6e 61 6d 65 3d 22 | 64 65 73 74 72 6f 79 28 |a name="|destroy(|
|000038a0| 29 22 3e 3c 69 6d 67 20 | 73 72 63 3d 22 69 6d 61 |)"><img |src="ima|
|000038b0| 67 65 73 2f 72 65 64 2d | 62 61 6c 6c 2e 67 69 66 |ges/red-|ball.gif|
|000038c0| 22 20 77 69 64 74 68 3d | 31 32 20 68 65 69 67 68 |" width=|12 heigh|
|000038d0| 74 3d 31 32 20 61 6c 74 | 3d 22 20 6f 20 22 3e 3c |t=12 alt|=" o "><|
|000038e0| 2f 61 3e 0a 3c 61 20 6e | 61 6d 65 3d 22 64 65 73 |/a>.<a n|ame="des|
|000038f0| 74 72 6f 79 22 3e 3c 62 | 3e 64 65 73 74 72 6f 79 |troy"><b|>destroy|
|00003900| 3c 2f 62 3e 3c 2f 61 3e | 0a 3c 70 72 65 3e 0a 20 |</b></a>|.<pre>. |
|00003910| 70 75 62 6c 69 63 20 61 | 62 73 74 72 61 63 74 20 |public a|bstract |
|00003920| 76 6f 69 64 20 64 65 73 | 74 72 6f 79 28 29 0a 3c |void des|troy().<|
|00003930| 2f 70 72 65 3e 0a 3c 64 | 6c 3e 0a 20 20 3c 64 64 |/pre>.<d|l>. <dd|
|00003940| 3e 20 43 6c 65 61 6e 73 | 20 75 70 20 77 68 61 74 |> Cleans| up what|
|00003950| 65 76 65 72 20 72 65 73 | 6f 75 72 63 65 73 20 61 |ever res|ources a|
|00003960| 72 65 20 62 65 69 6e 67 | 20 68 65 6c 64 20 28 65 |re being| held (e|
|00003970| 2e 67 2e 2c 20 6d 65 6d | 6f 72 79 2c 20 66 69 6c |.g., mem|ory, fil|
|00003980| 65 0a 20 68 61 6e 64 6c | 65 73 2c 20 74 68 72 65 |e. handl|es, thre|
|00003990| 61 64 73 29 20 61 6e 64 | 20 6d 61 6b 65 73 20 73 |ads) and| makes s|
|000039a0| 75 72 65 20 74 68 61 74 | 20 61 6e 79 20 70 65 72 |ure that| any per|
|000039b0| 73 69 73 74 65 6e 74 20 | 73 74 61 74 65 20 69 73 |sistent |state is|
|000039c0| 0a 20 73 79 6e 63 68 72 | 6f 6e 69 7a 65 64 20 77 |. synchr|onized w|
|000039d0| 69 74 68 20 74 68 65 20 | 73 65 72 76 6c 65 74 27 |ith the |servlet'|
|000039e0| 73 20 63 75 72 72 65 6e | 74 20 69 6e 2d 6d 65 6d |s curren|t in-mem|
|000039f0| 6f 72 79 20 73 74 61 74 | 65 2e 20 20 54 68 65 0a |ory stat|e. The.|
|00003a00| 20 6d 65 74 68 6f 64 20 | 69 73 20 63 61 6c 6c 65 | method |is calle|
|00003a10| 64 20 6f 6e 63 65 2c 20 | 61 75 74 6f 6d 61 74 69 |d once, |automati|
|00003a20| 63 61 6c 6c 79 2c 20 62 | 79 20 74 68 65 20 6e 65 |cally, b|y the ne|
|00003a30| 74 77 6f 72 6b 20 73 65 | 72 76 69 63 65 0a 20 77 |twork se|rvice. w|
|00003a40| 68 65 6e 20 69 74 20 75 | 6e 6c 6f 61 64 73 20 74 |hen it u|nloads t|
|00003a50| 68 65 20 73 65 72 76 6c | 65 74 2e 20 41 66 74 65 |he servl|et. Afte|
|00003a60| 72 20 64 65 73 74 72 6f | 79 20 69 73 20 72 75 6e |r destro|y is run|
|00003a70| 2c 20 69 74 20 63 61 6e | 6e 6f 74 20 62 65 0a 20 |, it can|not be. |
|00003a80| 63 61 6c 6c 65 64 20 61 | 67 61 69 6e 20 75 6e 74 |called a|gain unt|
|00003a90| 69 6c 20 74 68 65 20 6e | 65 74 77 6f 72 6b 20 73 |il the n|etwork s|
|00003aa0| 65 72 76 69 63 65 20 72 | 65 6c 6f 61 64 73 20 74 |ervice r|eloads t|
|00003ab0| 68 65 20 73 65 72 76 6c | 65 74 2e 0a 20 3c 70 3e |he servl|et.. <p>|
|00003ac0| 57 68 65 6e 20 74 68 65 | 20 6e 65 74 77 6f 72 6b |When the| network|
|00003ad0| 20 73 65 72 76 69 63 65 | 20 72 65 6d 6f 76 65 73 | service| removes|
|00003ae0| 20 61 20 73 65 72 76 6c | 65 74 2c 20 69 74 20 63 | a servl|et, it c|
|00003af0| 61 6c 6c 73 20 64 65 73 | 74 72 6f 79 0a 20 61 66 |alls des|troy. af|
|00003b00| 74 65 72 20 61 6c 6c 20 | 73 65 72 76 69 63 65 20 |ter all |service |
|00003b10| 63 61 6c 6c 73 20 68 61 | 76 65 20 62 65 65 6e 20 |calls ha|ve been |
|00003b20| 63 6f 6d 70 6c 65 74 65 | 64 2c 20 6f 72 20 61 0a |complete|d, or a.|
|00003b30| 20 73 65 72 76 69 63 65 | 2d 73 70 65 63 69 66 69 | service|-specifi|
|00003b40| 63 20 6e 75 6d 62 65 72 | 20 6f 66 20 73 65 63 6f |c number| of seco|
|00003b50| 6e 64 73 20 68 61 76 65 | 20 70 61 73 73 65 64 2c |nds have| passed,|
|00003b60| 20 77 68 69 63 68 65 76 | 65 72 20 63 6f 6d 65 73 | whichev|er comes|
|00003b70| 0a 20 66 69 72 73 74 2e | 20 20 49 6e 20 74 68 65 |. first.| In the|
|00003b80| 20 63 61 73 65 20 6f 66 | 20 6c 6f 6e 67 2d 72 75 | case of| long-ru|
|00003b90| 6e 6e 69 6e 67 20 6f 70 | 65 72 61 74 69 6f 6e 73 |nning op|erations|
|00003ba0| 2c 20 74 68 65 72 65 20 | 63 6f 75 6c 64 20 62 65 |, there |could be|
|00003bb0| 0a 20 6f 74 68 65 72 20 | 74 68 72 65 61 64 73 20 |. other |threads |
|00003bc0| 72 75 6e 6e 69 6e 67 20 | 73 65 72 76 69 63 65 20 |running |service |
|00003bd0| 72 65 71 75 65 73 74 73 | 20 77 68 65 6e 20 64 65 |requests| when de|
|00003be0| 73 74 72 6f 79 20 69 73 | 20 63 61 6c 6c 65 64 2e |stroy is| called.|
|00003bf0| 0a 20 54 68 65 20 73 65 | 72 76 6c 65 74 20 77 72 |. The se|rvlet wr|
|00003c00| 69 74 65 72 20 69 73 20 | 72 65 73 70 6f 6e 73 69 |iter is |responsi|
|00003c10| 62 6c 65 20 66 6f 72 20 | 6d 61 6b 69 6e 67 20 73 |ble for |making s|
|00003c20| 75 72 65 20 74 68 61 74 | 20 61 6e 79 0a 20 74 68 |ure that| any. th|
|00003c30| 72 65 61 64 73 20 73 74 | 69 6c 6c 20 69 6e 20 74 |reads st|ill in t|
|00003c40| 68 65 20 73 65 72 76 69 | 63 65 20 6d 65 74 68 6f |he servi|ce metho|
|00003c50| 64 20 63 6f 6d 70 6c 65 | 74 65 2e 0a 3c 70 3e 0a |d comple|te..<p>.|
|00003c60| 3c 2f 64 6c 3e 0a 3c 68 | 72 3e 0a 3c 70 72 65 3e |</dl>.<h|r>.<pre>|
|00003c70| 0a 3c 61 20 68 72 65 66 | 3d 22 70 61 63 6b 61 67 |.<a href|="packag|
|00003c80| 65 73 2e 68 74 6d 6c 22 | 3e 41 6c 6c 20 50 61 63 |es.html"|>All Pac|
|00003c90| 6b 61 67 65 73 3c 2f 61 | 3e 20 20 3c 61 20 68 72 |kages</a|> <a hr|
|00003ca0| 65 66 3d 22 74 72 65 65 | 2e 68 74 6d 6c 22 3e 43 |ef="tree|.html">C|
|00003cb0| 6c 61 73 73 20 48 69 65 | 72 61 72 63 68 79 3c 2f |lass Hie|rarchy</|
|00003cc0| 61 3e 20 20 3c 61 20 68 | 72 65 66 3d 22 50 61 63 |a> <a h|ref="Pac|
|00003cd0| 6b 61 67 65 2d 6a 61 76 | 61 78 2e 73 65 72 76 6c |kage-jav|ax.servl|
|00003ce0| 65 74 2e 68 74 6d 6c 22 | 3e 54 68 69 73 20 50 61 |et.html"|>This Pa|
|00003cf0| 63 6b 61 67 65 3c 2f 61 | 3e 20 20 3c 61 20 68 72 |ckage</a|> <a hr|
|00003d00| 65 66 3d 22 50 61 63 6b | 61 67 65 2d 6a 61 76 61 |ef="Pack|age-java|
|00003d10| 78 2e 73 65 72 76 6c 65 | 74 2e 68 74 6d 6c 22 3e |x.servle|t.html">|
|00003d20| 50 72 65 76 69 6f 75 73 | 3c 2f 61 3e 20 20 3c 61 |Previous|</a> <a|
|00003d30| 20 68 72 65 66 3d 22 6a | 61 76 61 78 2e 73 65 72 | href="j|avax.ser|
|00003d40| 76 6c 65 74 2e 53 65 72 | 76 6c 65 74 43 6f 6e 66 |vlet.Ser|vletConf|
|00003d50| 69 67 2e 68 74 6d 6c 23 | 5f 74 6f 70 5f 22 3e 4e |ig.html#|_top_">N|
|00003d60| 65 78 74 3c 2f 61 3e 20 | 20 3c 61 20 68 72 65 66 |ext</a> | <a href|
|00003d70| 3d 22 41 6c 6c 4e 61 6d | 65 73 2e 68 74 6d 6c 22 |="AllNam|es.html"|
|00003d80| 3e 49 6e 64 65 78 3c 2f | 61 3e 3c 2f 70 72 65 3e |>Index</|a></pre>|
|00003d90| 0a 3c 2f 62 6f 64 79 3e | 0a 3c 2f 68 74 6d 6c 3e |.</body>|.</html>|
|00003da0| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 4a 53 44 4b 31 2e 30 2e | 31 2f 64 6f 63 2f 61 70 |JSDK1.0.|1/doc/ap|
|00003e10| 69 64 6f 63 2f 6a 61 76 | 61 78 2e 73 65 72 76 6c |idoc/jav|ax.servl|
|00003e20| 65 74 2e 53 65 72 76 6c | 65 74 43 6f 6e 66 69 67 |et.Servl|etConfig|
|00003e30| 2e 68 74 6d 6c 00 00 00 | 00 00 00 00 00 00 00 00 |.html...|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 31 36 35 |....0100|644.0165|
|00003e70| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00003e80| 30 30 31 30 31 31 34 00 | 30 36 33 36 34 30 31 30 |0010114.|06364010|
|00003e90| 30 36 31 00 30 30 32 33 | 33 32 34 00 30 00 00 00 |061.0023|324.0...|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00003f50| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00004010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00004020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 2f 2f 45 4e 22 |TD HTML |3.2//EN"|
|00004030| 3e 0a 3c 21 2d 2d 4e 65 | 77 50 61 67 65 2d 2d 3e |>.<!--Ne|wPage-->|
|00004040| 0a 3c 68 74 6d 6c 3e 0a | 3c 68 65 61 64 3e 0a 3c |.<html>.|<head>.<|
|00004050| 21 2d 2d 20 47 65 6e 65 | 72 61 74 65 64 20 62 79 |!-- Gene|rated by|
|00004060| 20 6a 61 76 61 64 6f 63 | 20 6f 6e 20 46 72 69 20 | javadoc| on Fri |
|00004070| 4a 75 6c 20 31 38 20 31 | 37 3a 35 33 3a 33 39 20 |Jul 18 1|7:53:39 |
|00004080| 50 44 54 20 31 39 39 37 | 20 2d 2d 3e 0a 3c 74 69 |PDT 1997| -->.<ti|
|00004090| 74 6c 65 3e 0a 20 20 49 | 6e 74 65 72 66 61 63 65 |tle>. I|nterface|
|000040a0| 20 6a 61 76 61 78 2e 73 | 65 72 76 6c 65 74 2e 53 | javax.s|ervlet.S|
|000040b0| 65 72 76 6c 65 74 43 6f | 6e 66 69 67 0a 3c 2f 74 |ervletCo|nfig.</t|
|000040c0| 69 74 6c 65 3e 0a 3c 2f | 68 65 61 64 3e 0a 3c 62 |itle>.</|head>.<b|
|000040d0| 6f 64 79 3e 0a 3c 61 20 | 6e 61 6d 65 3d 22 5f 74 |ody>.<a |name="_t|
|000040e0| 6f 70 5f 22 3e 3c 2f 61 | 3e 0a 3c 70 72 65 3e 0a |op_"></a|>.<pre>.|
|000040f0| 3c 61 20 68 72 65 66 3d | 22 70 61 63 6b 61 67 65 |<a href=|"package|
|00004100| 73 2e 68 74 6d 6c 22 3e | 41 6c 6c 20 50 61 63 6b |s.html">|All Pack|
|00004110| 61 67 65 73 3c 2f 61 3e | 20 20 3c 61 20 68 72 65 |ages</a>| <a hre|
|00004120| 66 3d 22 74 72 65 65 2e | 68 74 6d 6c 22 3e 43 6c |f="tree.|html">Cl|
|00004130| 61 73 73 20 48 69 65 72 | 61 72 63 68 79 3c 2f 61 |ass Hier|archy</a|
|00004140| 3e 20 20 3c 61 20 68 72 | 65 66 3d 22 50 61 63 6b |> <a hr|ef="Pack|
|00004150| 61 67 65 2d 6a 61 76 61 | 78 2e 73 65 72 76 6c 65 |age-java|x.servle|
|00004160| 74 2e 68 74 6d 6c 22 3e | 54 68 69 73 20 50 61 63 |t.html">|This Pac|
|00004170| 6b 61 67 65 3c 2f 61 3e | 20 20 3c 61 20 68 72 65 |kage</a>| <a hre|
|00004180| 66 3d 22 6a 61 76 61 78 | 2e 73 65 72 76 6c 65 74 |f="javax|.servlet|
|00004190| 2e 53 65 72 76 6c 65 74 | 2e 68 74 6d 6c 23 5f 74 |.Servlet|.html#_t|
|000041a0| 6f 70 5f 22 3e 50 72 65 | 76 69 6f 75 73 3c 2f 61 |op_">Pre|vious</a|
|000041b0| 3e 20 20 3c 61 20 68 72 | 65 66 3d 22 6a 61 76 61 |> <a hr|ef="java|
|000041c0| 78 2e 73 65 72 76 6c 65 | 74 2e 53 65 72 76 6c 65 |x.servle|t.Servle|
|000041d0| 74 43 6f 6e 74 65 78 74 | 2e 68 74 6d 6c 23 5f 74 |tContext|.html#_t|
|000041e0| 6f 70 5f 22 3e 4e 65 78 | 74 3c 2f 61 3e 20 20 3c |op_">Nex|t</a> <|
|000041f0| 61 20 68 72 65 66 3d 22 | 41 6c 6c 4e 61 6d 65 73 |a href="|AllNames|
|00004200| 2e 68 74 6d 6c 22 3e 49 | 6e 64 65 78 3c 2f 61 3e |.html">I|ndex</a>|
|00004210| 3c 2f 70 72 65 3e 0a 3c | 68 72 3e 0a 3c 68 31 3e |</pre>.<|hr>.<h1>|
|00004220| 0a 20 20 49 6e 74 65 72 | 66 61 63 65 20 6a 61 76 |. Inter|face jav|
|00004230| 61 78 2e 73 65 72 76 6c | 65 74 2e 53 65 72 76 6c |ax.servl|et.Servl|
|00004240| 65 74 43 6f 6e 66 69 67 | 0a 3c 2f 68 31 3e 0a 3c |etConfig|.</h1>.<|
|00004250| 64 6c 3e 0a 20 20 3c 64 | 74 3e 20 70 75 62 6c 69 |dl>. <d|t> publi|
|00004260| 63 20 69 6e 74 65 72 66 | 61 63 65 20 3c 62 3e 53 |c interf|ace <b>S|
|00004270| 65 72 76 6c 65 74 43 6f | 6e 66 69 67 3c 2f 62 3e |ervletCo|nfig</b>|
|00004280| 0a 3c 2f 64 6c 3e 0a 54 | 68 69 73 20 69 6e 74 65 |.</dl>.T|his inte|
|00004290| 72 66 61 63 65 20 69 73 | 20 69 6d 70 6c 65 6d 65 |rface is| impleme|
|000042a0| 6e 74 65 64 20 62 79 20 | 73 65 72 76 69 63 65 73 |nted by |services|
|000042b0| 20 69 6e 20 6f 72 64 65 | 72 20 74 6f 20 70 61 73 | in orde|r to pas|
|000042c0| 73 0a 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |s. confi|guration|
|000042d0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 74 6f 20 | informa|tion to |
|000042e0| 61 20 73 65 72 76 6c 65 | 74 20 77 68 65 6e 20 69 |a servle|t when i|
|000042f0| 74 20 69 73 20 66 69 72 | 73 74 20 6c 6f 61 64 65 |t is fir|st loade|
|00004300| 64 2e 20 20 41 0a 20 73 | 65 72 76 69 63 65 20 77 |d. A. s|ervice w|
|00004310| 72 69 74 65 72 20 69 6d | 70 6c 65 6d 65 6e 74 69 |riter im|plementi|
|00004320| 6e 67 20 74 68 69 73 20 | 69 6e 74 65 72 66 61 63 |ng this |interfac|
|00004330| 65 20 6d 75 73 74 20 77 | 72 69 74 65 20 6d 65 74 |e must w|rite met|
|00004340| 68 6f 64 73 20 66 6f 72 | 20 74 68 65 0a 20 73 65 |hods for| the. se|
|00004350| 72 76 6c 65 74 20 74 6f | 20 75 73 65 20 74 6f 20 |rvlet to| use to |
|00004360| 67 65 74 20 69 74 73 20 | 69 6e 69 74 69 61 6c 69 |get its |initiali|
|00004370| 7a 61 74 69 6f 6e 20 70 | 61 72 61 6d 65 74 65 72 |zation p|arameter|
|00004380| 73 20 61 6e 64 20 74 68 | 65 20 63 6f 6e 74 65 78 |s and th|e contex|
|00004390| 74 0a 20 69 6e 20 77 68 | 69 63 68 20 69 74 20 69 |t. in wh|ich it i|
|000043a0| 73 20 72 75 6e 6e 69 6e | 67 2e 20 0a 20 3c 70 3e |s runnin|g. . <p>|
|000043b0| 54 68 65 20 53 65 72 76 | 6c 65 74 43 6f 6e 66 69 |The Serv|letConfi|
|000043c0| 67 20 69 6e 74 65 72 66 | 61 63 65 20 63 61 6e 20 |g interf|ace can |
|000043d0| 61 6c 73 6f 20 62 65 20 | 69 6d 70 6c 65 6d 65 6e |also be |implemen|
|000043e0| 74 65 64 20 62 79 20 73 | 65 72 76 6c 65 74 73 2e |ted by s|ervlets.|
|000043f0| 0a 20 28 47 65 6e 65 72 | 69 63 53 65 72 76 6c 65 |. (Gener|icServle|
|00004400| 74 20 64 6f 65 73 20 74 | 68 69 73 2e 29 20 20 57 |t does t|his.) W|
|00004410| 68 65 6e 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |hen impl|emented |
|00004420| 62 79 20 61 20 73 65 72 | 76 6c 65 74 2c 20 74 68 |by a ser|vlet, th|
|00004430| 65 0a 20 6d 65 74 68 6f | 64 73 20 69 6e 20 74 68 |e. metho|ds in th|
|00004440| 65 20 69 6e 74 65 72 66 | 61 63 65 20 6d 61 6b 65 |e interf|ace make|
|00004450| 20 67 65 74 74 69 6e 67 | 20 74 68 65 20 63 6f 6e | getting| the con|
|00004460| 66 69 67 75 72 61 74 69 | 6f 6e 20 64 61 74 61 20 |figurati|on data |
|00004470| 6d 6f 72 65 0a 20 63 6f | 6e 76 65 6e 69 65 6e 74 |more. co|nvenient|
|00004480| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|00004490| 61 20 73 65 72 76 6c 65 | 74 20 63 6f 75 6c 64 20 |a servle|t could |
|000044a0| 69 6d 70 6c 65 6d 65 6e | 74 0a 20 67 65 74 53 65 |implemen|t. getSe|
|000044b0| 72 76 6c 65 74 43 6f 6e | 74 65 78 74 20 62 79 20 |rvletCon|text by |
|000044c0| 77 72 69 74 69 6e 67 2c | 0a 20 3c 70 72 65 3e 0a |writing,|. <pre>.|
|000044d0| 20 20 20 70 75 62 6c 69 | 63 20 53 65 72 76 6c 65 | publi|c Servle|
|000044e0| 74 43 6f 6e 74 65 78 74 | 20 67 65 74 53 65 72 76 |tContext| getServ|
|000044f0| 6c 65 74 43 6f 6e 74 65 | 78 74 28 29 20 7b 0a 09 |letConte|xt() {..|
|00004500| 72 65 74 75 72 6e 20 67 | 65 74 53 65 72 76 6c 65 |return g|etServle|
|00004510| 74 43 6f 6e 66 69 67 28 | 29 2e 67 65 74 53 65 72 |tConfig(|).getSer|
|00004520| 76 6c 65 74 43 6f 6e 74 | 65 78 74 28 29 3b 0a 20 |vletCont|ext();. |
|00004530| 20 20 7d 0a 20 3c 2f 70 | 72 65 3e 0a 20 6d 61 6b | }. </p|re>. mak|
|00004540| 69 6e 67 20 61 63 63 65 | 73 73 20 74 6f 20 74 68 |ing acce|ss to th|
|00004550| 65 20 73 65 72 76 6c 65 | 74 27 73 20 63 6f 6e 74 |e servle|t's cont|
|00004560| 65 78 74 20 6f 62 6a 65 | 63 74 20 61 20 73 69 6e |ext obje|ct a sin|
|00004570| 67 6c 65 20 6d 65 74 68 | 6f 64 0a 20 69 6e 76 6f |gle meth|od. invo|
|00004580| 63 61 74 69 6f 6e 20 28 | 61 20 63 61 6c 6c 20 74 |cation (|a call t|
|00004590| 6f 20 3c 63 6f 64 65 3e | 67 65 74 53 65 72 76 6c |o <code>|getServl|
|000045a0| 65 74 43 6f 6e 74 65 78 | 74 28 29 3c 2f 63 6f 64 |etContex|t()</cod|
|000045b0| 65 3e 29 2e 0a 3c 70 3e | 0a 3c 68 72 3e 0a 3c 61 |e>)..<p>|.<hr>.<a|
|000045c0| 20 6e 61 6d 65 3d 22 69 | 6e 64 65 78 22 3e 3c 2f | name="i|ndex"></|
|000045d0| 61 3e 0a 3c 68 32 3e 0a | 20 20 3c 69 6d 67 20 73 |a>.<h2>.| <img s|
|000045e0| 72 63 3d 22 69 6d 61 67 | 65 73 2f 6d 65 74 68 6f |rc="imag|es/metho|
|000045f0| 64 2d 69 6e 64 65 78 2e | 67 69 66 22 20 77 69 64 |d-index.|gif" wid|
|00004600| 74 68 3d 32 30 37 20 68 | 65 69 67 68 74 3d 33 38 |th=207 h|eight=38|
|00004610| 20 61 6c 74 3d 22 4d 65 | 74 68 6f 64 20 49 6e 64 | alt="Me|thod Ind|
|00004620| 65 78 22 3e 0a 3c 2f 68 | 32 3e 0a 3c 64 6c 3e 0a |ex">.</h|2>.<dl>.|
|00004630| 20 20 3c 64 74 3e 20 3c | 69 6d 67 20 73 72 63 3d | <dt> <|img src=|
|00004640| 22 69 6d 61 67 65 73 2f | 72 65 64 2d 62 61 6c 6c |"images/|red-ball|
|00004650| 2d 73 6d 61 6c 6c 2e 67 | 69 66 22 20 77 69 64 74 |-small.g|if" widt|
|00004660| 68 3d 36 20 68 65 69 67 | 68 74 3d 36 20 61 6c 74 |h=6 heig|ht=6 alt|
|00004670| 3d 22 20 6f 20 22 3e 0a | 09 3c 61 20 68 72 65 66 |=" o ">.|.<a href|
|00004680| 3d 22 23 67 65 74 49 6e | 69 74 50 61 72 61 6d 65 |="#getIn|itParame|
|00004690| 74 65 72 28 6a 61 76 61 | 2e 6c 61 6e 67 2e 53 74 |ter(java|.lang.St|
|000046a0| 72 69 6e 67 29 22 3e 3c | 62 3e 67 65 74 49 6e 69 |ring)"><|b>getIni|
|000046b0| 74 50 61 72 61 6d 65 74 | 65 72 3c 2f 62 3e 3c 2f |tParamet|er</b></|
|000046c0| 61 3e 28 53 74 72 69 6e | 67 29 0a 20 20 3c 64 64 |a>(Strin|g). <dd|
|000046d0| 3e 20 0a 20 52 65 74 75 | 72 6e 73 20 61 20 73 74 |> . Retu|rns a st|
|000046e0| 72 69 6e 67 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ring con|taining |
|000046f0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |the valu|e of the|
|00004700| 20 6e 61 6d 65 64 0a 20 | 69 6e 69 74 69 61 6c 69 | named. |initiali|
|00004710| 7a 61 74 69 6f 6e 20 70 | 61 72 61 6d 65 74 65 72 |zation p|arameter|
|00004720| 20 6f 66 20 74 68 65 20 | 73 65 72 76 6c 65 74 2c | of the |servlet,|
|00004730| 20 6f 72 20 6e 75 6c 6c | 20 69 66 20 74 68 65 0a | or null| if the.|
|00004740| 20 70 61 72 61 6d 65 74 | 65 72 20 64 6f 65 73 20 | paramet|er does |
|00004750| 6e 6f 74 20 65 78 69 73 | 74 2e 0a 20 20 3c 64 74 |not exis|t.. <dt|
|00004760| 3e 20 3c 69 6d 67 20 73 | 72 63 3d 22 69 6d 61 67 |> <img s|rc="imag|
|00004770| 65 73 2f 72 65 64 2d 62 | 61 6c 6c 2d 73 6d 61 6c |es/red-b|all-smal|
|00004780| 6c 2e 67 69 66 22 20 77 | 69 64 74 68 3d 36 20 68 |l.gif" w|idth=6 h|
|00004790| 65 69 67 68 74 3d 36 20 | 61 6c 74 3d 22 20 6f 20 |eight=6 |alt=" o |
|000047a0| 22 3e 0a 09 3c 61 20 68 | 72 65 66 3d 22 23 67 65 |">..<a h|ref="#ge|
|000047b0| 74 49 6e 69 74 50 61 72 | 61 6d 65 74 65 72 4e 61 |tInitPar|ameterNa|
|000047c0| 6d 65 73 28 29 22 3e 3c | 62 3e 67 65 74 49 6e 69 |mes()"><|b>getIni|
|000047d0| 74 50 61 72 61 6d 65 74 | 65 72 4e 61 6d 65 73 3c |tParamet|erNames<|
|000047e0| 2f 62 3e 3c 2f 61 3e 28 | 29 0a 20 20 3c 64 64 3e |/b></a>(|). <dd>|
|000047f0| 20 20 52 65 74 75 72 6e | 73 20 74 68 65 20 6e 61 | Return|s the na|
|00004800| 6d 65 73 20 6f 66 20 74 | 68 65 20 73 65 72 76 6c |mes of t|he servl|
|00004810| 65 74 27 73 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |et's ini|tializat|
|00004820| 69 6f 6e 20 70 61 72 61 | 6d 65 74 65 72 73 0a 20 |ion para|meters. |
|00004830| 61 73 20 61 6e 20 65 6e | 75 6d 65 72 61 74 69 6f |as an en|umeratio|
|00004840| 6e 20 6f 66 20 73 74 72 | 69 6e 67 73 2c 20 6f 72 |n of str|ings, or|
|00004850| 20 61 6e 20 65 6d 70 74 | 79 20 65 6e 75 6d 65 72 | an empt|y enumer|
|00004860| 61 74 69 6f 6e 20 69 66 | 20 74 68 65 72 65 0a 20 |ation if| there. |
|00004870| 61 72 65 20 6e 6f 20 69 | 6e 69 74 69 61 6c 69 7a |are no i|nitializ|
|00004880| 61 74 69 6f 6e 20 70 61 | 72 61 6d 65 74 65 72 73 |ation pa|rameters|
|00004890| 2e 0a 20 20 3c 64 74 3e | 20 3c 69 6d 67 20 73 72 |.. <dt>| <img sr|
|000048a0| 63 3d 22 69 6d 61 67 65 | 73 2f 72 65 64 2d 62 61 |c="image|s/red-ba|
|000048b0| 6c 6c 2d 73 6d 61 6c 6c | 2e 67 69 66 22 20 77 69 |ll-small|.gif" wi|
|000048c0| 64 74 68 3d 36 20 68 65 | 69 67 68 74 3d 36 20 61 |dth=6 he|ight=6 a|
|000048d0| 6c 74 3d 22 20 6f 20 22 | 3e 0a 09 3c 61 20 68 72 |lt=" o "|>..<a hr|
|000048e0| 65 66 3d 22 23 67 65 74 | 53 65 72 76 6c 65 74 43 |ef="#get|ServletC|
|000048f0| 6f 6e 74 65 78 74 28 29 | 22 3e 3c 62 3e 67 65 74 |ontext()|"><b>get|
|00004900| 53 65 72 76 6c 65 74 43 | 6f 6e 74 65 78 74 3c 2f |ServletC|ontext</|
|00004910| 62 3e 3c 2f 61 3e 28 29 | 0a 20 20 3c 64 64 3e 20 |b></a>()|. <dd> |
|00004920| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 63 6f 6e | Returns| the con|
|00004930| 74 65 78 74 20 66 6f 72 | 20 74 68 65 20 73 65 72 |text for| the ser|
|00004940| 76 6c 65 74 2e 0a 3c 2f | 64 6c 3e 0a 3c 61 20 6e |vlet..</|dl>.<a n|
|00004950| 61 6d 65 3d 22 6d 65 74 | 68 6f 64 73 22 3e 3c 2f |ame="met|hods"></|
|00004960| 61 3e 0a 3c 68 32 3e 0a | 20 20 3c 69 6d 67 20 73 |a>.<h2>.| <img s|
|00004970| 72 63 3d 22 69 6d 61 67 | 65 73 2f 6d 65 74 68 6f |rc="imag|es/metho|
|00004980| 64 73 2e 67 69 66 22 20 | 77 69 64 74 68 3d 31 35 |ds.gif" |width=15|
|00004990| 31 20 68 65 69 67 68 74 | 3d 33 38 20 61 6c 74 3d |1 height|=38 alt=|
|000049a0| 22 4d 65 74 68 6f 64 73 | 22 3e 0a 3c 2f 68 32 3e |"Methods|">.</h2>|
|000049b0| 0a 3c 61 20 6e 61 6d 65 | 3d 22 67 65 74 53 65 72 |.<a name|="getSer|
|000049c0| 76 6c 65 74 43 6f 6e 74 | 65 78 74 28 29 22 3e 3c |vletCont|ext()"><|
|000049d0| 69 6d 67 20 73 72 63 3d | 22 69 6d 61 67 65 73 2f |img src=|"images/|
|000049e0| 72 65 64 2d 62 61 6c 6c | 2e 67 69 66 22 20 77 69 |red-ball|.gif" wi|
|000049f0| 64 74 68 3d 31 32 20 68 | 65 69 67 68 74 3d 31 32 |dth=12 h|eight=12|
|00004a00| 20 61 6c 74 3d 22 20 6f | 20 22 3e 3c 2f 61 3e 0a | alt=" o| "></a>.|
|00004a10| 3c 61 20 6e 61 6d 65 3d | 22 67 65 74 53 65 72 76 |<a name=|"getServ|
|00004a20| 6c 65 74 43 6f 6e 74 65 | 78 74 22 3e 3c 62 3e 67 |letConte|xt"><b>g|
|00004a30| 65 74 53 65 72 76 6c 65 | 74 43 6f 6e 74 65 78 74 |etServle|tContext|
|00004a40| 3c 2f 62 3e 3c 2f 61 3e | 0a 3c 70 72 65 3e 0a 20 |</b></a>|.<pre>. |
|00004a50| 70 75 62 6c 69 63 20 61 | 62 73 74 72 61 63 74 20 |public a|bstract |
|00004a60| 3c 61 20 68 72 65 66 3d | 22 6a 61 76 61 78 2e 73 |<a href=|"javax.s|
|00004a70| 65 72 76 6c 65 74 2e 53 | 65 72 76 6c 65 74 43 6f |ervlet.S|ervletCo|
|00004a80| 6e 74 65 78 74 2e 68 74 | 6d 6c 23 5f 74 6f 70 5f |ntext.ht|ml#_top_|
|00004a90| 22 3e 53 65 72 76 6c 65 | 74 43 6f 6e 74 65 78 74 |">Servle|tContext|
|00004aa0| 3c 2f 61 3e 20 67 65 74 | 53 65 72 76 6c 65 74 43 |</a> get|ServletC|
|00004ab0| 6f 6e 74 65 78 74 28 29 | 0a 3c 2f 70 72 65 3e 0a |ontext()|.</pre>.|
|00004ac0| 3c 64 6c 3e 0a 20 20 3c | 64 64 3e 20 52 65 74 75 |<dl>. <|dd> Retu|
|00004ad0| 72 6e 73 20 74 68 65 20 | 63 6f 6e 74 65 78 74 20 |rns the |context |
|00004ae0| 66 6f 72 20 74 68 65 20 | 73 65 72 76 6c 65 74 2e |for the |servlet.|
|00004af0| 0a 3c 70 3e 0a 3c 2f 64 | 6c 3e 0a 3c 61 20 6e 61 |.<p>.</d|l>.<a na|
|00004b00| 6d 65 3d 22 67 65 74 49 | 6e 69 74 50 61 72 61 6d |me="getI|nitParam|
|00004b10| 65 74 65 72 28 6a 61 76 | 61 2e 6c 61 6e 67 2e 53 |eter(jav|a.lang.S|
|00004b20| 74 72 69 6e 67 29 22 3e | 3c 69 6d 67 20 73 72 63 |tring)">|<img src|
|00004b30| 3d 22 69 6d 61 67 65 73 | 2f 72 65 64 2d 62 61 6c |="images|/red-bal|
|00004b40| 6c 2e 67 69 66 22 20 77 | 69 64 74 68 3d 31 32 20 |l.gif" w|idth=12 |
|00004b50| 68 65 69 67 68 74 3d 31 | 32 20 61 6c 74 3d 22 20 |height=1|2 alt=" |
|00004b60| 6f 20 22 3e 3c 2f 61 3e | 0a 3c 61 20 6e 61 6d 65 |o "></a>|.<a name|
|00004b70| 3d 22 67 65 74 49 6e 69 | 74 50 61 72 61 6d 65 74 |="getIni|tParamet|
|00004b80| 65 72 22 3e 3c 62 3e 67 | 65 74 49 6e 69 74 50 61 |er"><b>g|etInitPa|
|00004b90| 72 61 6d 65 74 65 72 3c | 2f 62 3e 3c 2f 61 3e 0a |rameter<|/b></a>.|
|00004ba0| 3c 70 72 65 3e 0a 20 70 | 75 62 6c 69 63 20 61 62 |<pre>. p|ublic ab|
|00004bb0| 73 74 72 61 63 74 20 53 | 74 72 69 6e 67 20 67 65 |stract S|tring ge|
|00004bc0| 74 49 6e 69 74 50 61 72 | 61 6d 65 74 65 72 28 53 |tInitPar|ameter(S|
|00004bd0| 74 72 69 6e 67 20 6e 61 | 6d 65 29 0a 3c 2f 70 72 |tring na|me).</pr|
|00004be0| 65 3e 0a 3c 64 6c 3e 0a | 20 20 3c 64 64 3e 20 52 |e>.<dl>.| <dd> R|
|00004bf0| 65 74 75 72 6e 73 20 61 | 20 73 74 72 69 6e 67 20 |eturns a| string |
|00004c00| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 76 |containi|ng the v|
|00004c10| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 6e 61 6d 65 |alue of |the name|
|00004c20| 64 0a 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |d. initi|alizatio|
|00004c30| 6e 20 70 61 72 61 6d 65 | 74 65 72 20 6f 66 20 74 |n parame|ter of t|
|00004c40| 68 65 20 73 65 72 76 6c | 65 74 2c 20 6f 72 20 6e |he servl|et, or n|
|00004c50| 75 6c 6c 20 69 66 20 74 | 68 65 0a 20 70 61 72 61 |ull if t|he. para|
|00004c60| 6d 65 74 65 72 20 64 6f | 65 73 20 6e 6f 74 20 65 |meter do|es not e|
|00004c70| 78 69 73 74 2e 20 20 49 | 6e 69 74 20 70 61 72 61 |xist. I|nit para|
|00004c80| 6d 65 74 65 72 73 20 68 | 61 76 65 20 61 20 73 69 |meters h|ave a si|
|00004c90| 6e 67 6c 65 20 73 74 72 | 69 6e 67 0a 20 76 61 6c |ngle str|ing. val|
|00004ca0| 75 65 3b 20 69 74 20 69 | 73 20 74 68 65 20 72 65 |ue; it i|s the re|
|00004cb0| 73 70 6f 6e 73 69 62 69 | 6c 69 74 79 20 6f 66 20 |sponsibi|lity of |
|00004cc0| 74 68 65 20 73 65 72 76 | 6c 65 74 20 77 72 69 74 |the serv|let writ|
|00004cd0| 65 72 20 74 6f 0a 20 69 | 6e 74 65 72 70 72 65 74 |er to. i|nterpret|
|00004ce0| 20 74 68 65 20 73 74 72 | 69 6e 67 2e 0a 3c 70 3e | the str|ing..<p>|
|00004cf0| 0a 20 20 3c 64 64 3e 3c | 64 6c 3e 0a 20 20 20 20 |. <dd><|dl>. |
|00004d00| 3c 64 74 3e 20 3c 62 3e | 50 61 72 61 6d 65 74 65 |<dt> <b>|Paramete|
|00004d10| 72 73 3a 3c 2f 62 3e 0a | 20 20 20 20 3c 64 64 3e |rs:</b>.| <dd>|
|00004d20| 20 6e 61 6d 65 20 2d 20 | 74 68 65 20 6e 61 6d 65 | name - |the name|
|00004d30| 20 6f 66 20 74 68 65 20 | 70 61 72 61 6d 65 74 65 | of the |paramete|
|00004d40| 72 20 77 68 6f 73 65 20 | 76 61 6c 75 65 20 69 73 |r whose |value is|
|00004d50| 20 72 65 71 75 65 73 74 | 65 64 0a 20 20 3c 2f 64 | request|ed. </d|
|00004d60| 6c 3e 3c 2f 64 64 3e 0a | 3c 2f 64 6c 3e 0a 3c 61 |l></dd>.|</dl>.<a|
|00004d70| 20 6e 61 6d 65 3d 22 67 | 65 74 49 6e 69 74 50 61 | name="g|etInitPa|
|00004d80| 72 61 6d 65 74 65 72 4e | 61 6d 65 73 28 29 22 3e |rameterN|ames()">|
|00004d90| 3c 69 6d 67 20 73 72 63 | 3d 22 69 6d 61 67 65 73 |<img src|="images|
|00004da0| 2f 72 65 64 2d 62 61 6c | 6c 2e 67 69 66 22 20 77 |/red-bal|l.gif" w|
|00004db0| 69 64 74 68 3d 31 32 20 | 68 65 69 67 68 74 3d 31 |idth=12 |height=1|
|00004dc0| 32 20 61 6c 74 3d 22 20 | 6f 20 22 3e 3c 2f 61 3e |2 alt=" |o "></a>|
|00004dd0| 0a 3c 61 20 6e 61 6d 65 | 3d 22 67 65 74 49 6e 69 |.<a name|="getIni|
|00004de0| 74 50 61 72 61 6d 65 74 | 65 72 4e 61 6d 65 73 22 |tParamet|erNames"|
|00004df0| 3e 3c 62 3e 67 65 74 49 | 6e 69 74 50 61 72 61 6d |><b>getI|nitParam|
|00004e00| 65 74 65 72 4e 61 6d 65 | 73 3c 2f 62 3e 3c 2f 61 |eterName|s</b></a|
|00004e10| 3e 0a 3c 70 72 65 3e 0a | 20 70 75 62 6c 69 63 20 |>.<pre>.| public |
|00004e20| 61 62 73 74 72 61 63 74 | 20 45 6e 75 6d 65 72 61 |abstract| Enumera|
|00004e30| 74 69 6f 6e 20 67 65 74 | 49 6e 69 74 50 61 72 61 |tion get|InitPara|
|00004e40| 6d 65 74 65 72 4e 61 6d | 65 73 28 29 0a 3c 2f 70 |meterNam|es().</p|
|00004e50| 72 65 3e 0a 3c 64 6c 3e | 0a 20 20 3c 64 64 3e 20 |re>.<dl>|. <dd> |
|00004e60| 52 65 74 75 72 6e 73 20 | 74 68 65 20 6e 61 6d 65 |Returns |the name|
|00004e70| 73 20 6f 66 20 74 68 65 | 20 73 65 72 76 6c 65 74 |s of the| servlet|
|00004e80| 27 73 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |'s initi|alizatio|
|00004e90| 6e 20 70 61 72 61 6d 65 | 74 65 72 73 0a 20 61 73 |n parame|ters. as|
|00004ea0| 20 61 6e 20 65 6e 75 6d | 65 72 61 74 69 6f 6e 20 | an enum|eration |
|00004eb0| 6f 66 20 73 74 72 69 6e | 67 73 2c 20 6f 72 20 61 |of strin|gs, or a|
|00004ec0| 6e 20 65 6d 70 74 79 20 | 65 6e 75 6d 65 72 61 74 |n empty |enumerat|
|00004ed0| 69 6f 6e 20 69 66 20 74 | 68 65 72 65 0a 20 61 72 |ion if t|here. ar|
|00004ee0| 65 20 6e 6f 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |e no ini|tializat|
|00004ef0| 69 6f 6e 20 70 61 72 61 | 6d 65 74 65 72 73 2e 0a |ion para|meters..|
|00004f00| 3c 70 3e 0a 3c 2f 64 6c | 3e 0a 3c 68 72 3e 0a 3c |<p>.</dl|>.<hr>.<|
|00004f10| 70 72 65 3e 0a 3c 61 20 | 68 72 65 66 3d 22 70 61 |pre>.<a |href="pa|
|00004f20| 63 6b 61 67 65 73 2e 68 | 74 6d 6c 22 3e 41 6c 6c |ckages.h|tml">All|
|00004f30| 20 50 61 63 6b 61 67 65 | 73 3c 2f 61 3e 20 20 3c | Package|s</a> <|
|00004f40| 61 20 68 72 65 66 3d 22 | 74 72 65 65 2e 68 74 6d |a href="|tree.htm|
|00004f50| 6c 22 3e 43 6c 61 73 73 | 20 48 69 65 72 61 72 63 |l">Class| Hierarc|
|00004f60| 68 79 3c 2f 61 3e 20 20 | 3c 61 20 68 72 65 66 3d |hy</a> |<a href=|
|00004f70| 22 50 61 63 6b 61 67 65 | 2d 6a 61 76 61 78 2e 73 |"Package|-javax.s|
|00004f80| 65 72 76 6c 65 74 2e 68 | 74 6d 6c 22 3e 54 68 69 |ervlet.h|tml">Thi|
|00004f90| 73 20 50 61 63 6b 61 67 | 65 3c 2f 61 3e 20 20 3c |s Packag|e</a> <|
|00004fa0| 61 20 68 72 65 66 3d 22 | 6a 61 76 61 78 2e 73 65 |a href="|javax.se|
|00004fb0| 72 76 6c 65 74 2e 53 65 | 72 76 6c 65 74 2e 68 74 |rvlet.Se|rvlet.ht|
|00004fc0| 6d 6c 23 5f 74 6f 70 5f | 22 3e 50 72 65 76 69 6f |ml#_top_|">Previo|
|00004fd0| 75 73 3c 2f 61 3e 20 20 | 3c 61 20 68 72 65 66 3d |us</a> |<a href=|
|00004fe0| 22 6a 61 76 61 78 2e 73 | 65 72 76 6c 65 74 2e 53 |"javax.s|ervlet.S|
|00004ff0| 65 72 76 6c 65 74 43 6f | 6e 74 65 78 74 2e 68 74 |ervletCo|ntext.ht|
|00005000| 6d 6c 23 5f 74 6f 70 5f | 22 3e 4e 65 78 74 3c 2f |ml#_top_|">Next</|
|00005010| 61 3e 20 20 3c 61 20 68 | 72 65 66 3d 22 41 6c 6c |a> <a h|ref="All|
|00005020| 4e 61 6d 65 73 2e 68 74 | 6d 6c 22 3e 49 6e 64 65 |Names.ht|ml">Inde|
|00005030| 78 3c 2f 61 3e 3c 2f 70 | 72 65 3e 0a 3c 2f 62 6f |x</a></p|re>.</bo|
|00005040| 64 79 3e 0a 3c 2f 68 74 | 6d 6c 3e 0a 64 3e 0a 3c |dy>.</ht|ml>.d>.<|
|00005050| 21 2d 2d 20 47 65 6e 65 | 72 61 74 65 64 20 62 79 |!-- Gene|rated by|
|00005060| 20 6a 61 76 61 64 6f 63 | 20 6f 6e 20 46 72 69 20 | javadoc| on Fri |
|00005070| 4a 75 6c 20 31 38 20 31 | 37 3a 35 33 3a 33 39 20 |Jul 18 1|7:53:39 |
|00005080| 50 44 54 20 31 39 39 37 | 20 2d 2d 3e 0a 3c 74 69 |PDT 1997| -->.<ti|
|00005090| 74 6c 65 3e 0a 20 20 49 | 6e 74 65 72 66 61 63 65 |tle>. I|nterface|
|000050a0| 20 6a 61 76 61 78 2e 73 | 65 72 76 6c 65 74 2e 53 | javax.s|ervlet.S|
|000050b0| 65 72 76 6c 65 74 43 6f | 6e 66 69 67 0a 3c 2f 74 |ervletCo|nfig.</t|
|000050c0| 69 74 6c 65 3e 0a 3c 2f | 68 65 61 64 3e 0a 3c 62 |itle>.</|head>.<b|
|000050d0| 6f 64 79 3e 0a 3c 61 20 | 6e 61 6d 65 3d 22 5f 74 |ody>.<a |name="_t|
|000050e0| 6f 70 5f 22 3e 3c 2f 61 | 3e 0a 3c 70 72 65 3e 0a |op_"></a|>.<pre>.|
|000050f0| 3c 61 20 68 72 65 66 3d | 22 70 61 63 6b 61 67 65 |<a href=|"package|
|00005100| 73 2e 68 74 6d 6c 22 3e | 41 6c 6c 20 50 61 63 6b |s.html">|All Pack|
|00005110| 61 67 65 73 3c 2f 61 3e | 20 20 3c 61 20 68 72 65 |ages</a>| <a hre|
|00005120| 66 3d 22 74 72 65 65 2e | 68 74 6d 6c 22 3e 43 6c |f="tree.|html">Cl|
|00005130| 61 73 73 20 48 69 65 72 | 61 72 63 68 79 3c 2f 61 |ass Hier|archy</a|
|00005140| 3e 20 20 3c 61 20 68 72 | 65 66 3d 22 50 61 63 6b |> <a hr|ef="Pack|
|00005150| 61 67 65 2d 6a 61 76 61 | 78 2e 73 65 72 76 6c 65 |age-java|x.servle|
|00005160| 74 2e 68 74 6d 6c 22 3e | 54 68 69 73 20 50 61 63 |t.html">|This Pac|
|00005170| 6b 61 67 65 3c 2f 61 3e | 20 20 3c 61 20 68 72 65 |kage</a>| <a hre|
|00005180| 66 3d 22 6a 61 76 61 78 | 2e 73 65 72 76 6c 65 74 |f="javax|.servlet|
|00005190| 2e 53 65 72 76 6c 65 74 | 2e 68 74 6d 6c 23 5f 74 |.Servlet|.html#_t|
|000051a0| 6f 70 5f 22 3e 50 72 65 | 76 69 6f 75 73 3c 2f 61 |op_">Pre|vious</a|
|000051b0| 3e 20 20 3c 61 20 68 72 | 65 66 3d 22 6a 61 76 61 |> <a hr|ef="java|
|000051c0| 78 2e 73 65 72 76 6c 65 | 74 2e 53 65 72 76 6c 65 |x.servle|t.Servle|
|000051d0| 74 43 6f 6e 74 65 78 74 | 2e 68 74 6d 6c 23 5f 74 |tContext|.html#_t|
|000051e0| 6f 70 5f 22 3e 4e 65 78 | 74 3c 2f 61 3e 20 20 3c |op_">Nex|t</a> <|
|000051f0| 61 20 68 72 65 66 3d 22 | 41 6c 6c 4e 61 6d 65 73 |a href="|AllNames|
|00005200| 4a 53 44 4b 31 2e 30 2e | 31 2f 64 6f 63 2f 61 70 |JSDK1.0.|1/doc/ap|
|00005210| 69 64 6f 63 2f 6a 61 76 | 61 78 2e 73 65 72 76 6c |idoc/jav|ax.servl|
|00005220| 65 74 2e 53 65 72 76 6c | 65 74 43 6f 6e 74 65 78 |et.Servl|etContex|
|00005230| 74 2e 68 74 6d 6c 00 00 | 00 00 00 00 00 00 00 00 |t.html..|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 31 36 35 |....0100|644.0165|
|00005270| 31 34 31 00 30 31 36 35 | 31 34 31 00 30 30 30 30 |141.0165|141.0000|
|00005280| 30 30 31 36 34 32 32 00 | 30 36 33 36 34 30 31 30 |0016422.|06364010|
|00005290| 30 36 31 00 30 30 32 33 | 35 35 33 00 30 00 00 00 |061.0023|553.0...|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 75 73 74 61 72 00 30 | 30 6e 6f 62 6f 64 79 00 |.ustar.0|0nobody.|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 6e 6f 62 6f 64 79 00 |........|.nobody.|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 34 33 |........|.0000243|
|00005350| 00 30 30 30 32 33 34 32 | 00 00 00 00 00 00 00 00 |.0002342|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00005410| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00005420| 54 44 20 48 54 4d 4c 20 | 33 2e 32 2f 2f 45 4e 22 |TD HTML |3.2//EN"|
|00005430| 3e 0a 3c 21 2d 2d 4e 65 | 77 50 61 67 65 2d 2d 3e |>.<!--Ne|wPage-->|
|00005440| 0a 3c 68 74 6d 6c 3e 0a | 3c 68 65 61 64 3e 0a 3c |.<html>.|<head>.<|
|00005450| 21 2d 2d 20 47 65 6e 65 | 72 61 74 65 64 20 62 79 |!-- Gene|rated by|
|00005460| 20 6a 61 76 61 64 6f 63 | 20 6f 6e 20 46 72 69 20 | javadoc| on Fri |
|00005470| 4a 75 6c 20 31 38 20 31 | 37 3a 35 33 3a 33 39 20 |Jul 18 1|7:53:39 |
|00005480| 50 44 54 20 31 39 39 37 | 20 2d 2d 3e 0a 3c 74 69 |PDT 1997| -->.<ti|
|00005490| 74 6c 65 3e 0a 20 20 49 | 6e 74 65 72 66 61 63 65 |tle>. I|nterface|
|000054a0| 20 6a 61 76 61 78 2e 73 | 65 72 76 6c 65 74 2e 53 | javax.s|ervlet.S|
|000054b0| 65 72 76 6c 65 74 43 6f | 6e 74 65 78 74 0a 3c 2f |ervletCo|ntext.</|
|000054c0| 74 69 74 6c 65 3e 0a 3c | 2f 68 65 61 64 3e 0a 3c |title>.<|/head>.<|
|000054d0| 62 6f 64 79 3e 0a 3c 61 | 20 6e 61 6d 65 3d 22 5f |body>.<a| name="_|
|000054e0| 74 6f 70 5f 22 3e 3c 2f | 61 3e 0a 3c 70 72 65 3e |top_"></|a>.<pre>|
|000054f0| 0a 3c 61 20 68 72 65 66 | 3d 22 70 61 63 6b 61 67 |.<a href|="packag|
|00005500| 65 73 2e 68 74 6d 6c 22 | 3e 41 6c 6c 20 50 61 63 |es.html"|>All Pac|
|00005510| 6b 61 67 65 73 3c 2f 61 | 3e 20 20 3c 61 20 68 72 |kages</a|> <a hr|
|00005520| 65 66 3d 22 74 72 65 65 | 2e 68 74 6d 6c 22 3e 43 |ef="tree|.html">C|
|00005530| 6c 61 73 73 20 48 69 65 | 72 61 72 63 68 79 3c 2f |lass Hie|rarchy</|
|00005540| 61 3e 20 20 3c 61 20 68 | 72 65 66 3d 22 50 61 63 |a> <a h|ref="Pac|
|00005550| 6b 61 67 65 2d 6a 61 76 | 61 78 2e 73 65 72 76 6c |kage-jav|ax.servl|
|00005560| 65 74 2e 68 74 6d 6c 22 | 3e 54 68 69 73 20 50 61 |et.html"|>This Pa|
|00005570| 63 6b 61 67 65 3c 2f 61 | 3e 20 20 3c 61 20 68 72 |ckage</a|> <a hr|
|00005580| 65 66 3d 22 6a 61 76 61 | 78 2e 73 65 72 76 6c 65 |ef="java|x.servle|
|00005590| 74 2e 53 65 72 76 6c 65 | 74 43 6f 6e 66 69 67 2e |t.Servle|tConfig.|
|000055a0| 68 74 6d 6c 23 5f 74 6f | 70 5f 22 3e 50 72 65 76 |html#_to|p_">Prev|
|000055b0| 69 6f 75 73 3c 2f 61 3e | 20 20 3c 61 20 68 72 65 |ious</a>| <a hre|
|000055c0| 66 3d 22 6a 61 76 61 78 | 2e 73 65 72 76 6c 65 74 |f="javax|.servlet|
|000055d0| 2e 53 65 72 76 6c 65 74 | 52 65 71 75 65 73 74 2e |.Servlet|Request.|
|000055e0| 68 74 6d 6c 23 5f 74 6f | 70 5f 22 3e 4e 65 78 74 |html#_to|p_">Next|
|000055f0| 3c 2f 61 3e 20 20 3c 61 | 20 68 72 65 66 3d 22 41 |</a> <a| href="A|
|00005600| 6c 6c 4e 61 6d 65 73 2e | 68 74 6d 6c 22 3e 49 6e |llNames.|html">In|
|00005610| 64 65 78 3c 2f 61 3e 3c | 2f 70 72 65 3e 0a 3c 68 |dex</a><|/pre>.<h|
|00005620| 72 3e 0a 3c 68 31 3e 0a | 20 20 49 6e 74 65 72 66 |r>.<h1>.| Interf|
|00005630| 61 63 65 20 6a 61 76 61 | 78 2e 73 65 72 76 6c 65 |ace java|x.servle|
|00005640| 74 2e 53 65 72 76 6c 65 | 74 43 6f 6e 74 65 78 74 |t.Servle|tContext|
|00005650| 0a 3c 2f 68 31 3e 0a 3c | 64 6c 3e 0a 20 20 3c 64 |.</h1>.<|dl>. <d|
|00005660| 74 3e 20 70 75 62 6c 69 | 63 20 69 6e 74 65 72 66 |t> publi|c interf|
|00005670| 61 63 65 20 3c 62 3e 53 | 65 72 76 6c 65 74 43 6f |ace <b>S|ervletCo|
|00005680| 6e 74 65 78 74 3c 2f 62 | 3e 0a 3c 2f 64 6c 3e 0a |ntext</b|>.</dl>.|
|00005690| 54 68 65 20 53 65 72 76 | 6c 65 74 43 6f 6e 74 65 |The Serv|letConte|
|000056a0| 78 74 20 69 6e 74 65 72 | 66 61 63 65 20 67 69 76 |xt inter|face giv|
|000056b0| 65 73 20 73 65 72 76 6c | 65 74 73 20 61 63 63 65 |es servl|ets acce|
|000056c0| 73 73 20 74 6f 20 69 6e | 66 6f 72 6d 61 74 69 6f |ss to in|formatio|
|000056d0| 6e 20 61 62 6f 75 74 0a | 20 74 68 65 69 72 20 65 |n about.| their e|
|000056e0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 2c 20 61 6e 64 20 |nvironme|nt, and |
|000056f0| 61 6c 6c 6f 77 73 20 74 | 68 65 6d 20 74 6f 20 6c |allows t|hem to l|
|00005700| 6f 67 20 73 69 67 6e 69 | 66 69 63 61 6e 74 20 65 |og signi|ficant e|
|00005710| 76 65 6e 74 73 2e 20 20 | 53 65 72 76 6c 65 74 0a |vents. |Servlet.|
|00005720| 20 77 72 69 74 65 72 73 | 20 64 65 63 69 64 65 20 | writers| decide |
|00005730| 77 68 61 74 20 64 61 74 | 61 20 74 6f 20 6c 6f 67 |what dat|a to log|
|00005740| 2e 20 20 54 68 65 20 69 | 6e 74 65 72 66 61 63 65 |. The i|nterface|
|00005750| 20 69 73 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 | is impl|emented |
|00005760| 62 79 0a 20 73 65 72 76 | 69 63 65 73 2c 20 61 6e |by. serv|ices, an|
|00005770| 64 20 75 73 65 64 20 62 | 79 20 73 65 72 76 6c 65 |d used b|y servle|
|00005780| 74 73 2e 20 20 44 69 66 | 66 65 72 65 6e 74 20 76 |ts. Dif|ferent v|
|00005790| 69 72 74 75 61 6c 20 68 | 6f 73 74 73 20 73 68 6f |irtual h|osts sho|
|000057a0| 75 6c 64 20 68 61 76 65 | 0a 20 64 69 66 66 65 72 |uld have|. differ|
|000057b0| 65 6e 74 20 73 65 72 76 | 6c 65 74 20 63 6f 6e 74 |ent serv|let cont|
|000057c0| 65 78 74 73 2e 0a 20 3c | 70 3e 53 65 72 76 6c 65 |exts.. <|p>Servle|
|000057d0| 74 73 20 67 65 74 20 74 | 68 65 20 53 65 72 76 6c |ts get t|he Servl|
|000057e0| 65 74 43 6f 6e 74 65 78 | 74 20 6f 62 6a 65 63 74 |etContex|t object|
|000057f0| 20 76 69 61 20 74 68 65 | 20 67 65 74 53 65 72 76 | via the| getServ|
|00005800| 6c 65 74 43 6f 6e 74 65 | 78 74 0a 20 6d 65 74 68 |letConte|xt. meth|
|00005810| 6f 64 20 6f 66 20 53 65 | 72 76 6c 65 74 43 6f 6e |od of Se|rvletCon|
|00005820| 66 69 67 2e 20 20 54 68 | 65 20 53 65 72 76 6c 65 |fig. Th|e Servle|
|00005830| 74 43 6f 6e 66 69 67 20 | 6f 62 6a 65 63 74 20 69 |tConfig |object i|
|00005840| 73 20 70 72 6f 76 69 64 | 65 64 20 74 6f 0a 20 74 |s provid|ed to. t|
|00005850| 68 65 20 73 65 72 76 6c | 65 74 20 61 74 20 69 6e |he servl|et at in|
|00005860| 69 74 69 61 6c 69 7a 61 | 74 69 6f 6e 2c 20 61 6e |itializa|tion, an|
|00005870| 64 20 69 73 20 61 63 63 | 65 73 73 69 62 6c 65 20 |d is acc|essible |
|00005880| 76 69 61 20 74 68 65 20 | 73 65 72 76 6c 65 74 27 |via the |servlet'|
|00005890| 73 0a 20 67 65 74 53 65 | 72 76 6c 65 74 43 6f 6e |s. getSe|rvletCon|
|000058a0| 66 69 67 20 6d 65 74 68 | 6f 64 2e 0a 3c 70 3e 0a |fig meth|od..<p>.|
|000058b0| 3c 64 6c 3e 0a 20 20 20 | 20 3c 64 74 3e 20 3c 62 |<dl>. | <dt> <b|
|000058c0| 3e 53 65 65 20 41 6c 73 | 6f 3a 3c 2f 62 3e 0a 20 |>See Als|o:</b>. |
|000058d0| 20 20 20 3c 64 64 3e 20 | 3c 61 20 68 72 65 66 3d | <dd> |<a href=|
|000058e0| 22 6a 61 76 61 78 2e 73 | 65 72 76 6c 65 74 2e 53 |"javax.s|ervlet.S|
|000058f0| 65 72 76 6c 65 74 2e 68 | 74 6d 6c 23 67 65 74 53 |ervlet.h|tml#getS|
|00005900| 65 72 76 6c 65 74 43 6f | 6e 66 69 67 22 3e 67 65 |ervletCo|nfig">ge|
|00005910| 74 53 65 72 76 6c 65 74 | 43 6f 6e 66 69 67 3c 2f |tServlet|Config</|
|00005920| 61 3e 2c 20 3c 61 20 68 | 72 65 66 3d 22 6a 61 76 |a>, <a h|ref="jav|
|00005930| 61 78 2e 73 65 72 76 6c | 65 74 2e 53 65 72 76 6c |ax.servl|et.Servl|
|00005940| 65 74 43 6f 6e 66 69 67 | 2e 68 74 6d 6c 23 67 65 |etConfig|.html#ge|
|00005950| 74 53 65 72 76 6c 65 74 | 43 6f 6e 74 65 78 74 22 |tServlet|Context"|
|00005960| 3e 67 65 74 53 65 72 76 | 6c 65 74 43 6f 6e 74 65 |>getServ|letConte|
|00005970| 78 74 3c 2f 61 3e 0a 3c | 2f 64 6c 3e 0a 3c 68 72 |xt</a>.<|/dl>.<hr|
|00005980| 3e 0a 3c 61 20 6e 61 6d | 65 3d 22 69 6e 64 65 78 |>.<a nam|e="index|
|00005990| 22 3e 3c 2f 61 3e 0a 3c | 68 32 3e 0a 20 20 3c 69 |"></a>.<|h2>. <i|
|000059a0| 6d 67 20 73 72 63 3d 22 | 69 6d 61 67 65 73 2f 6d |mg src="|images/m|
|000059b0| 65 74 68 6f 64 2d 69 6e | 64 65 78 2e 67 69 66 22 |ethod-in|dex.gif"|
|000059c0| 20 77 69 64 74 68 3d 32 | 30 37 20 68 65 69 67 68 | width=2|07 heigh|
|000059d0| 74 3d 33 38 20 61 6c 74 | 3d 22 4d 65 74 68 6f 64 |t=38 alt|="Method|
|000059e0| 20 49 6e 64 65 78 22 3e | 0a 3c 2f 68 32 3e 0a 3c | Index">|.</h2>.<|
|000059f0| 64 6c 3e 0a 20 20 3c 64 | 74 3e 20 3c 69 6d 67 20 |dl>. <d|t> <img |
|00005a00| 73 72 63 3d 22 69 6d 61 | 67 65 73 2f 72 65 64 2d |src="ima|ges/red-|
|00005a10| 62 61 6c 6c 2d 73 6d 61 | 6c 6c 2e 67 69 66 22 20 |ball-sma|ll.gif" |
|00005a20| 77 69 64 74 68 3d 36 20 | 68 65 69 67 68 74 3d 36 |width=6 |height=6|
|00005a30| 20 61 6c 74 3d 22 20 6f | 20 22 3e 0a 09 3c 61 20 | alt=" o| ">..<a |
|00005a40| 68 72 65 66 3d 22 23 67 | 65 74 41 74 74 72 69 62 |href="#g|etAttrib|
|00005a50| 75 74 65 28 6a 61 76 61 | 2e 6c 61 6e 67 2e 53 74 |ute(java|.lang.St|
|00005a60| 72 69 6e 67 29 22 3e 3c | 62 3e 67 65 74 41 74 74 |ring)"><|b>getAtt|
|00005a70| 72 69 62 75 74 65 3c 2f | 62 3e 3c 2f 61 3e 28 53 |ribute</|b></a>(S|
|00005a80| 74 72 69 6e 67 29 0a 20 | 20 3c 64 64 3e 20 20 52 |tring). | <dd> R|
|00005a90| 65 74 75 72 6e 73 20 74 | 68 65 20 76 61 6c 75 65 |eturns t|he value|
|00005aa0| 20 6f 66 20 74 68 65 20 | 6e 61 6d 65 64 20 61 74 | of the |named at|
|00005ab0| 74 72 69 62 75 74 65 20 | 6f 66 20 74 68 65 20 6e |tribute |of the n|
|00005ac0| 65 74 77 6f 72 6b 20 73 | 65 72 76 69 63 65 2c 0a |etwork s|ervice,.|
|00005ad0| 20 6f 72 20 6e 75 6c 6c | 20 69 66 20 74 68 65 20 | or null| if the |
|00005ae0| 61 74 74 72 69 62 75 74 | 65 20 64 6f 65 73 20 6e |attribut|e does n|
|00005af0| 6f 74 20 65 78 69 73 74 | 2e 0a 20 20 3c 64 74 3e |ot exist|.. <dt>|
|00005b00| 20 3c 69 6d 67 20 73 72 | 63 3d 22 69 6d 61 67 65 | <img sr|c="image|
|00005b10| 73 2f 72 65 64 2d 62 61 | 6c 6c 2d 73 6d 61 6c 6c |s/red-ba|ll-small|
|00005b20| 2e 67 69 66 22 20 77 69 | 64 74 68 3d 36 20 68 65 |.gif" wi|dth=6 he|
|00005b30| 69 67 68 74 3d 36 20 61 | 6c 74 3d 22 20 6f 20 22 |ight=6 a|lt=" o "|
|00005b40| 3e 0a 09 3c 61 20 68 72 | 65 66 3d 22 23 67 65 74 |>..<a hr|ef="#get|
|00005b50| 4d 69 6d 65 54 79 70 65 | 28 6a 61 76 61 2e 6c 61 |MimeType|(java.la|
|00005b60| 6e 67 2e 53 74 72 69 6e | 67 29 22 3e 3c 62 3e 67 |ng.Strin|g)"><b>g|
|00005b70| 65 74 4d 69 6d 65 54 79 | 70 65 3c 2f 62 3e 3c 2f |etMimeTy|pe</b></|
|00005b80| 61 3e 28 53 74 72 69 6e | 67 29 0a 20 20 3c 64 64 |a>(Strin|g). <dd|
|00005b90| 3e 20 20 52 65 74 75 72 | 6e 73 20 74 68 65 20 6d |> Retur|ns the m|
|00005ba0| 69 6d 65 20 74 79 70 65 | 20 6f 66 20 74 68 65 20 |ime type| of the |
|00005bb0| 73 70 65 63 69 66 69 65 | 64 20 66 69 6c 65 2c 20 |specifie|d file, |
|00005bc0| 6f 72 20 6e 75 6c 6c 20 | 69 66 20 6e 6f 74 20 6b |or null |if not k|
|00005bd0| 6e 6f 77 6e 2e 0a 20 20 | 3c 64 74 3e 20 3c 69 6d |nown.. |<dt> <im|
|00005be0| 67 20 73 72 63 3d 22 69 | 6d 61 67 65 73 2f 72 65 |g src="i|mages/re|
|00005bf0| 64 2d 62 61 6c 6c 2d 73 | 6d 61 6c 6c 2e 67 69 66 |d-ball-s|mall.gif|
|00005c00| 22 20 77 69 64 74 68 3d | 36 20 68 65 69 67 68 74 |" width=|6 height|
|00005c10| 3d 36 20 61 6c 74 3d 22 | 20 6f 20 22 3e 0a 09 3c |=6 alt="| o ">..<|
|00005c20| 61 20 68 72 65 66 3d 22 | 23 67 65 74 52 65 61 6c |a href="|#getReal|
|00005c30| 50 61 74 68 28 6a 61 76 | 61 2e 6c 61 6e 67 2e 53 |Path(jav|a.lang.S|
|00005c40| 74 72 69 6e 67 29 22 3e | 3c 62 3e 67 65 74 52 65 |tring)">|<b>getRe|
|00005c50| 61 6c 50 61 74 68 3c 2f | 62 3e 3c 2f 61 3e 28 53 |alPath</|b></a>(S|
|00005c60| 74 72 69 6e 67 29 0a 20 | 20 3c 64 64 3e 20 20 41 |tring). | <dd> A|
|00005c70| 70 70 6c 69 65 73 20 61 | 6c 69 61 73 20 72 75 6c |pplies a|lias rul|
|00005c80| 65 73 20 74 6f 20 74 68 | 65 20 73 70 65 63 69 66 |es to th|e specif|
|00005c90| 69 65 64 20 76 69 72 74 | 75 61 6c 20 70 61 74 68 |ied virt|ual path|
|00005ca0| 20 61 6e 64 20 72 65 74 | 75 72 6e 73 20 74 68 65 | and ret|urns the|
|00005cb0| 0a 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |. corres|ponding |
|00005cc0| 72 65 61 6c 20 70 61 74 | 68 2e 0a 20 20 3c 64 74 |real pat|h.. <dt|
|00005cd0| 3e 20 3c 69 6d 67 20 73 | 72 63 3d 22 69 6d 61 67 |> <img s|rc="imag|
|00005ce0| 65 73 2f 72 65 64 2d 62 | 61 6c 6c 2d 73 6d 61 6c |es/red-b|all-smal|
|00005cf0| 6c 2e 67 69 66 22 20 77 | 69 64 74 68 3d 36 20 68 |l.gif" w|idth=6 h|
|00005d00| 65 69 67 68 74 3d 36 20 | 61 6c 74 3d 22 20 6f 20 |eight=6 |alt=" o |
|00005d10| 22 3e 0a 09 3c 61 20 68 | 72 65 66 3d 22 23 67 65 |">..<a h|ref="#ge|
|00005d20| 74 53 65 72 76 65 72 49 | 6e 66 6f 28 29 22 3e 3c |tServerI|nfo()"><|
|00005d30| 62 3e 67 65 74 53 65 72 | 76 65 72 49 6e 66 6f 3c |b>getSer|verInfo<|
|00005d40| 2f 62 3e 3c 2f 61 3e 28 | 29 0a 20 20 3c 64 64 3e |/b></a>(|). <dd>|
|00005d50| 20 20 52 65 74 75 72 6e | 73 20 74 68 65 20 6e 61 | Return|s the na|
|00005d60| 6d 65 20 61 6e 64 20 76 | 65 72 73 69 6f 6e 20 6f |me and v|ersion o|
|00005d70| 66 20 74 68 65 20 6e 65 | 74 77 6f 72 6b 20 73 65 |f the ne|twork se|
|00005d80| 72 76 69 63 65 20 75 6e | 64 65 72 20 77 68 69 63 |rvice un|der whic|
|00005d90| 68 0a 20 74 68 65 20 73 | 65 72 76 6c 65 74 20 69 |h. the s|ervlet i|
|00005da0| 73 20 72 75 6e 6e 69 6e | 67 2e 0a 20 20 3c 64 74 |s runnin|g.. <dt|
|00005db0| 3e 20 3c 69 6d 67 20 73 | 72 63 3d 22 69 6d 61 67 |> <img s|rc="imag|
|00005dc0| 65 73 2f 72 65 64 2d 62 | 61 6c 6c 2d 73 6d 61 6c |es/red-b|all-smal|
|00005dd0| 6c 2e 67 69 66 22 20 77 | 69 64 74 68 3d 36 20 68 |l.gif" w|idth=6 h|
|00005de0| 65 69 67 68 74 3d 36 20 | 61 6c 74 3d 22 20 6f 20 |eight=6 |alt=" o |
|00005df0| 22 3e 0a 09 3c 61 20 68 | 72 65 66 3d 22 23 67 65 |">..<a h|ref="#ge|
|00005e00| 74 53 65 72 76 6c 65 74 | 28 6a 61 76 61 2e 6c 61 |tServlet|(java.la|
|00005e10| 6e 67 2e 53 74 72 69 6e | 67 29 22 3e 3c 62 3e 67 |ng.Strin|g)"><b>g|
|00005e20| 65 74 53 65 72 76 6c 65 | 74 3c 2f 62 3e 3c 2f 61 |etServle|t</b></a|
|00005e30| 3e 28 53 74 72 69 6e 67 | 29 0a 20 20 3c 64 64 3e |>(String|). <dd>|
|00005e40| 20 20 52 65 74 75 72 6e | 73 20 74 68 65 20 73 65 | Return|s the se|
|00005e50| 72 76 6c 65 74 20 6f 66 | 20 74 68 65 20 73 70 65 |rvlet of| the spe|
|00005e60| 63 69 66 69 65 64 20 6e | 61 6d 65 2c 20 6f 72 20 |cified n|ame, or |
|00005e70| 6e 75 6c 6c 20 69 66 20 | 6e 6f 74 0a 20 66 6f 75 |null if |not. fou|
|00005e80| 6e 64 2e 0a 20 20 3c 64 | 74 3e 20 3c 69 6d 67 20 |nd.. <d|t> <img |
|00005e90| 73 72 63 3d 22 69 6d 61 | 67 65 73 2f 72 65 64 2d |src="ima|ges/red-|
|00005ea0| 62 61 6c 6c 2d 73 6d 61 | 6c 6c 2e 67 69 66 22 20 |ball-sma|ll.gif" |
|00005eb0| 77 69 64 74 68 3d 36 20 | 68 65 69 67 68 74 3d 36 |width=6 |height=6|
|00005ec0| 20 61 6c 74 3d 22 20 6f | 20 22 3e 0a 09 3c 61 20 | alt=" o| ">..<a |
|00005ed0| 68 72 65 66 3d 22 23 67 | 65 74 53 65 72 76 6c 65 |href="#g|etServle|
|00005ee0| 74 73 28 29 22 3e 3c 62 | 3e 67 65 74 53 65 72 76 |ts()"><b|>getServ|
|00005ef0| 6c 65 74 73 3c 2f 62 3e | 3c 2f 61 3e 28 29 0a 20 |lets</b>|</a>(). |
|00005f00| 20 3c 64 64 3e 20 20 52 | 65 74 75 72 6e 73 20 61 | <dd> R|eturns a|
|00005f10| 6e 20 65 6e 75 6d 65 72 | 61 74 69 6f 6e 20 6f 66 |n enumer|ation of|
|00005f20| 20 74 68 65 20 53 65 72 | 76 6c 65 74 20 6f 62 6a | the Ser|vlet obj|
|00005f30| 65 63 74 73 20 69 6e 20 | 74 68 69 73 20 73 65 72 |ects in |this ser|
|00005f40| 76 65 72 2e 0a 20 20 3c | 64 74 3e 20 3c 69 6d 67 |ver.. <|dt> <img|
|00005f50| 20 73 72 63 3d 22 69 6d | 61 67 65 73 2f 72 65 64 | src="im|ages/red|
|00005f60| 2d 62 61 6c 6c 2d 73 6d | 61 6c 6c 2e 67 69 66 22 |-ball-sm|all.gif"|
|00005f70| 20 77 69 64 74 68 3d 36 | 20 68 65 69 67 68 74 3d | width=6| height=|
|00005f80| 36 20 61 6c 74 3d 22 20 | 6f 20 22 3e 0a 09 3c 61 |6 alt=" |o ">..<a|
|00005f90| 20 68 72 65 66 3d 22 23 | 6c 6f 67 28 6a 61 76 61 | href="#|log(java|
|00005fa0| 2e 6c 61 6e 67 2e 53 74 | 72 69 6e 67 29 22 3e 3c |.lang.St|ring)"><|
|00005fb0| 62 3e 6c 6f 67 3c 2f 62 | 3e 3c 2f 61 3e 28 53 74 |b>log</b|></a>(St|
|00005fc0| 72 69 6e 67 29 0a 20 20 | 3c 64 64 3e 20 20 57 72 |ring). |<dd> Wr|
|00005fd0| 69 74 65 73 20 74 68 65 | 20 67 69 76 65 6e 20 6d |ites the| given m|
|00005fe0| 65 73 73 61 67 65 20 73 | 74 72 69 6e 67 20 74 6f |essage s|tring to|
|00005ff0| 20 74 68 65 20 73 65 72 | 76 6c 65 74 20 6c 6f 67 | the ser|vlet log|
|00006000| 20 66 69 6c 65 2e 0a 3c | 2f 64 6c 3e 0a 3c 61 20 | file..<|/dl>.<a |
|00006010| 6e 61 6d 65 3d 22 6d 65 | 74 68 6f 64 73 22 3e 3c |name="me|thods"><|
|00006020| 2f 61 3e 0a 3c 68 32 3e | 0a 20 20 3c 69 6d 67 20 |/a>.<h2>|. <img |
|00006030| 73 72 63 3d 22 69 6d 61 | 67 65 73 2f 6d 65 74 68 |src="ima|ges/meth|
|00006040| 6f 64 73 2e 67 69 66 22 | 20 77 69 64 74 68 3d 31 |ods.gif"| width=1|
|00006050| 35 31 20 68 65 69 67 68 | 74 3d 33 38 20 61 6c 74 |51 heigh|t=38 alt|
|00006060| 3d 22 4d 65 74 68 6f 64 | 73 22 3e 0a 3c 2f 68 32 |="Method|s">.</h2|
|00006070| 3e 0a 3c 61 20 6e 61 6d | 65 3d 22 67 65 74 53 65 |>.<a nam|e="getSe|
|00006080| 72 76 6c 65 74 28 6a 61 | 76 61 2e 6c 61 6e 67 2e |rvlet(ja|va.lang.|
|00006090| 53 74 72 69 6e 67 29 22 | 3e 3c 69 6d 67 20 73 72 |String)"|><img sr|
|000060a0| 63 3d 22 69 6d 61 67 65 | 73 2f 72 65 64 2d 62 61 |c="image|s/red-ba|
|000060b0| 6c 6c 2e 67 69 66 22 20 | 77 69 64 74 68 3d 31 32 |ll.gif" |width=12|
|000060c0| 20 68 65 69 67 68 74 3d | 31 32 20 61 6c 74 3d 22 | height=|12 alt="|
|000060d0| 20 6f 20 22 3e 3c 2f 61 | 3e 0a 3c 61 20 6e 61 6d | o "></a|>.<a nam|
|000060e0| 65 3d 22 67 65 74 53 65 | 72 76 6c 65 74 22 3e 3c |e="getSe|rvlet"><|
|000060f0| 62 3e 67 65 74 53 65 72 | 76 6c 65 74 3c 2f 62 3e |b>getSer|vlet</b>|
|00006100| 3c 2f 61 3e 0a 3c 70 72 | 65 3e 0a 20 70 75 62 6c |</a>.<pr|e>. publ|
|00006110| 69 63 20 61 62 73 74 72 | 61 63 74 20 3c 61 20 68 |ic abstr|act <a h|
|00006120| 72 65 66 3d 22 6a 61 76 | 61 78 2e 73 65 72 76 6c |ref="jav|ax.servl|
|00006130| 65 74 2e 53 65 72 76 6c | 65 74 2e 68 74 6d 6c 23 |et.Servl|et.html#|
|00006140| 5f 74 6f 70 5f 22 3e 53 | 65 72 76 6c 65 74 3c 2f |_top_">S|ervlet</|
|00006150| 61 3e 20 67 65 74 53 65 | 72 76 6c 65 74 28 53 74 |a> getSe|rvlet(St|
|00006160| 72 69 6e 67 20 6e 61 6d | 65 29 20 74 68 72 6f 77 |ring nam|e) throw|
|00006170| 73 20 3c 61 20 68 72 65 | 66 3d 22 6a 61 76 61 78 |s <a hre|f="javax|
|00006180| 2e 73 65 72 76 6c 65 74 | 2e 53 65 72 76 6c 65 74 |.servlet|.Servlet|
|00006190| 45 78 63 65 70 74 69 6f | 6e 2e 68 74 6d 6c 23 5f |Exceptio|n.html#_|
|000061a0| 74 6f 70 5f 22 3e 53 65 | 72 76 6c 65 74 45 78 63 |top_">Se|rvletExc|
|000061b0| 65 70 74 69 6f 6e 3c 2f | 61 3e 0a 3c 2f 70 72 65 |eption</|a>.</pre|
|000061c0| 3e 0a 3c 64 6c 3e 0a 20 | 20 3c 64 64 3e 20 52 65 |>.<dl>. | <dd> Re|
|000061d0| 74 75 72 6e 73 20 74 68 | 65 20 73 65 72 76 6c 65 |turns th|e servle|
|000061e0| 74 20 6f 66 20 74 68 65 | 20 73 70 65 63 69 66 69 |t of the| specifi|
|000061f0| 65 64 20 6e 61 6d 65 2c | 20 6f 72 20 6e 75 6c 6c |ed name,| or null|
|00006200| 20 69 66 20 6e 6f 74 0a | 20 66 6f 75 6e 64 2e 20 | if not.| found. |
|00006210| 20 57 68 65 6e 20 74 68 | 65 20 73 65 72 76 6c 65 | When th|e servle|
|00006220| 74 20 69 73 20 72 65 74 | 75 72 6e 65 64 20 69 74 |t is ret|urned it|
|00006230| 20 69 73 20 69 6e 69 74 | 69 61 6c 69 7a 65 64 20 | is init|ialized |
|00006240| 61 6e 64 0a 20 72 65 61 | 64 79 20 74 6f 20 61 63 |and. rea|dy to ac|
|00006250| 63 65 70 74 20 73 65 72 | 76 69 63 65 20 72 65 71 |cept ser|vice req|
|00006260| 75 65 73 74 73 2e 0a 3c | 70 3e 0a 20 20 3c 64 64 |uests..<|p>. <dd|
|00006270| 3e 3c 64 6c 3e 0a 20 20 | 20 20 3c 64 74 3e 20 3c |><dl>. | <dt> <|
|00006280| 62 3e 50 61 72 61 6d 65 | 74 65 72 73 3a 3c 2f 62 |b>Parame|ters:</b|
|00006290| 3e 0a 20 20 20 20 3c 64 | 64 3e 20 6e 61 6d 65 20 |>. <d|d> name |
|000062a0| 2d 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |- the na|me of th|
|000062b0| 65 20 64 65 73 69 72 65 | 64 20 73 65 72 76 6c 65 |e desire|d servle|
|000062c0| 74 0a 20 20 20 20 3c 64 | 74 3e 20 3c 62 3e 54 68 |t. <d|t> <b>Th|
|000062d0| 72 6f 77 73 3a 3c 2f 62 | 3e 20 3c 61 20 68 72 65 |rows:</b|> <a hre|
|000062e0| 66 3d 22 6a 61 76 61 78 | 2e 73 65 72 76 6c 65 74 |f="javax|.servlet|
|000062f0| 2e 53 65 72 76 6c 65 74 | 45 78 63 65 70 74 69 6f |.Servlet|Exceptio|
|00006300| 6e 2e 68 74 6d 6c 23 5f | 74 6f 70 5f 22 3e 53 65 |n.html#_|top_">Se|
|00006310| 72 76 6c 65 74 45 78 63 | 65 70 74 69 6f 6e 3c 2f |rvletExc|eption</|
|00006320| 61 3e 0a 20 20 20 20 3c | 64 64 3e 20 69 66 20 74 |a>. <|dd> if t|
|00006330| 68 65 20 73 65 72 76 6c | 65 74 20 63 6f 75 6c 64 |he servl|et could|
|00006340| 20 6e 6f 74 20 62 65 20 | 69 6e 69 74 69 61 6c 69 | not be |initiali|
|00006350| 7a 65 64 0a 20 20 3c 2f | 64 6c 3e 3c 2f 64 64 3e |zed. </|dl></dd>|
|00006360| 0a 3c 2f 64 6c 3e 0a 3c | 61 20 6e 61 6d 65 3d 22 |.</dl>.<|a name="|
|00006370| 67 65 74 53 65 72 76 6c | 65 74 73 28 29 22 3e 3c |getServl|ets()"><|
|00006380| 69 6d 67 20 73 72 63 3d | 22 69 6d 61 67 65 73 2f |img src=|"images/|
|00006390| 72 65 64 2d 62 61 6c 6c | 2e 67 69 66 22 20 77 69 |red-ball|.gif" wi|
|000063a0| 64 74 68 3d 31 32 20 68 | 65 69 67 68 74 3d 31 32 |dth=12 h|eight=12|
|000063b0| 20 61 6c 74 3d 22 20 6f | 20 22 3e 3c 2f 61 3e 0a | alt=" o| "></a>.|
|000063c0| 3c 61 20 6e 61 6d 65 3d | 22 67 65 74 53 65 72 76 |<a name=|"getServ|
|000063d0| 6c 65 74 73 22 3e 3c 62 | 3e 67 65 74 53 65 72 76 |lets"><b|>getServ|
|000063e0| 6c 65 74 73 3c 2f 62 3e | 3c 2f 61 3e 0a 3c 70 72 |lets</b>|</a>.<pr|
|000063f0| 65 3e 0a 20 70 75 62 6c | 69 63 20 61 62 73 74 72 |e>. publ|ic abstr|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.